Fix for system menu not getting properly reloaded after entries changed.
Plus added a missing semicolon.
This commit is contained in:
parent
f9f22daa4d
commit
8c85ed8ce5
1 changed files with 7 additions and 1 deletions
|
|
@ -88,7 +88,13 @@ $(function() {
|
|||
self.onUserLoggedOut = function() {
|
||||
self.lastCommandResponse = undefined;
|
||||
self.systemActions([]);
|
||||
}
|
||||
};
|
||||
|
||||
self.onEventSettingsUpdated = function() {
|
||||
if (self.loginState.isAdmin()) {
|
||||
self.requestData();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
// view model class, parameters for constructor, container to bind to
|
||||
|
|
|
|||
Loading…
Reference in a new issue