frontend: allow partial settings (used when publicly published)
This commit is contained in:
parent
15d108497e
commit
536dc0eb6b
2 changed files with 10 additions and 6 deletions
|
@ -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) {
|
||||
|
|
Reference in a new issue