Add view model list to coreui object
This commit is contained in:
1 parent
85ef3f1df2
commit
392149b504
1 file changed
+3
-1
@@ -49,7 +49,8 @@ $(function() {
|
||||
|
||||
mobile: false,
|
||||
desktop: false
|
||||
}
|
||||
},
|
||||
viewmodels: {}
|
||||
};
|
||||
|
||||
var browserVisibilityCallbacks = [];
|
||||
@@ -400,6 +401,7 @@ $(function() {
|
||||
pass++;
|
||||
}
|
||||
log.info("... dependency resolution done");
|
||||
OctoPrint.coreui.viewmodels = viewModelMap;
|
||||
|
||||
//~~ some additional hooks and initializations
|
||||
|
||||
|
||||
Reference in new issue
Block a user