summaryrefslogtreecommitdiffstats
path: root/apps/files/src/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/src/main.js')
-rw-r--r--apps/files/src/main.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/files/src/main.js b/apps/files/src/main.js
index 48b981359ed..1339c3c68ee 100644
--- a/apps/files/src/main.js
+++ b/apps/files/src/main.js
@@ -23,6 +23,7 @@ window.OCP.Files = window.OCP.Files ?? {}
// Init Navigation Service
const Navigation = new NavigationService()
Object.assign(window.OCP.Files, { Navigation })
+Vue.prototype.$navigation = Navigation
// Init Files App Settings Service
const Settings = new SettingsService()
@@ -48,9 +49,6 @@ const pinia = createPinia()
const ListView = Vue.extend(FilesListView)
const FilesList = new ListView({
name: 'FilesListRoot',
- propsData: {
- Navigation,
- },
router,
pinia,
})