Using appContext in DataSourceWrapper and createRoutes
This commit is contained in:
1 parent
c2853f719a
commit
70ad940941
6 files changed
+31
-34
No files matched your search
@@ -59,6 +59,11 @@ function appInit(appConfigOrFunc, defaultExtensions) {
|
||||
// TODO: We no longer init webWorkers at app level
|
||||
// TODO: We no longer init the user Manager
|
||||
|
||||
// TODO: Remove this
|
||||
if (!appConfig.modes.length) {
|
||||
appConfig.modes.push(window.exampleMode);
|
||||
}
|
||||
|
||||
return {
|
||||
appConfig,
|
||||
commandsManager,
|
||||
|
||||
Reference in new issue
Block a user