♻ Use new named registration params for UiStateVM
This commit is contained in:
1 parent
f9edea0c2c
commit
47e9afa811
1 file changed
+5
-5
@@ -40,9 +40,9 @@ $(function() {
|
||||
};
|
||||
}
|
||||
|
||||
OCTOPRINT_VIEWMODELS.push([
|
||||
UiStateViewModel,
|
||||
["loginStateViewModel", "accessViewModel"],
|
||||
["#page-container-main", "#page-container-loading", "#page-container-needlogin"]
|
||||
]);
|
||||
OCTOPRINT_VIEWMODELS.push({
|
||||
construct: UiStateViewModel,
|
||||
dependencies: ["loginStateViewModel", "accessViewModel"],
|
||||
elements: ["#page-container-main", "#page-container-loading", "#page-container-needlogin"]
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user