settings: Challenge can never ends

This commit is contained in:
nemunaire 2023-05-12 14:53:15 +02:00
commit aad95f1e53
12 changed files with 36 additions and 22 deletions

View file

@ -263,7 +263,7 @@ angular.module("FICApp")
}
function updTime() {
if (time && $rootScope.settings) {
if (time && $rootScope.settings && $rootScope.settings.end) {
var srv_cur = new Date(Date.now() + (time.cu - time.he));
// Refresh on start/activate time reached