Final reg status handling tweaks
This commit is contained in:
@@ -288,6 +288,8 @@ onLoad(() => {
|
||||
}).then(player => {
|
||||
if (player !== 'error') {
|
||||
cell.toggleClass('final');
|
||||
standingsUpToDate = false;
|
||||
pairablesUpToDate = false;
|
||||
}
|
||||
});
|
||||
e.preventDefault();
|
||||
|
@@ -74,6 +74,7 @@
|
||||
const tour_rounds = ${tour.rounds};
|
||||
let activeRound = ${round};
|
||||
let standingsUpToDate = true;
|
||||
let pairablesUpToDate = true;
|
||||
// $params
|
||||
#end
|
||||
#set($datepickerLocale = $translate.datepickerLocale($request.lang, $request.loc))
|
||||
@@ -108,6 +109,8 @@
|
||||
window.location.hash = `#${step}`;
|
||||
if (step === 'standings' && !standingsUpToDate) {
|
||||
window.location.reload();
|
||||
} else if (step === 'pairing' && !pairablesUpToDate) {
|
||||
window.location.reload();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user