frontend: allow partial settings (used when publicly published)

This commit is contained in:
nemunaire 2019-02-18 18:00:54 +01:00
parent 15d108497e
commit 536dc0eb6b
2 changed files with 10 additions and 6 deletions

View file

@ -162,7 +162,7 @@ angular.module("FICApp")
$rootScope.refresh(true, true);
var remain = 0;
if ($rootScope.settings.start == 0) {
if ($rootScope.settings.start === undefined || $rootScope.settings.start == 0) {
$scope.time = {};
return
} else if ($rootScope.settings.start > srv_cur) {