aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/main.ts
diff options
context:
space:
mode:
authorRichard Steinmetz <richard@steinmetz.cloud>2025-01-13 17:09:38 +0100
committerRichard Steinmetz <richard@steinmetz.cloud>2025-01-16 08:57:19 +0100
commit835994a811279dfbcf4da2a00fa2620b4ea4d031 (patch)
treef8b4a6e4f3c1c632a8f660032ae41b401de59518 /apps/files/src/main.ts
parent6da58974a1a75275d99a75417ddd8f5d47851845 (diff)
downloadnextcloud-server-fix/files/sort-after-view-change.tar.gz
nextcloud-server-fix/files/sort-after-view-change.zip
fix(files): sort not working after changing viewsfix/files/sort-after-view-change
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Diffstat (limited to 'apps/files/src/main.ts')
-rw-r--r--apps/files/src/main.ts6
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/files/src/main.ts b/apps/files/src/main.ts
index b4755df8eed..4b8aca9efd4 100644
--- a/apps/files/src/main.ts
+++ b/apps/files/src/main.ts
@@ -4,7 +4,6 @@
*/
import type { Pinia } from 'pinia'
import { getCSPNonce } from '@nextcloud/auth'
-import { getNavigation } from '@nextcloud/files'
import { PiniaVuePlugin } from 'pinia'
import Vue from 'vue'
@@ -44,11 +43,6 @@ Vue.use(PiniaVuePlugin)
// Init HotKeys AFTER pinia is set up
registerHotkeys()
-// Init Navigation Service
-// This only works with Vue 2 - with Vue 3 this will not modify the source but return just a observer
-const Navigation = Vue.observable(getNavigation())
-Vue.prototype.$navigation = Navigation
-
// Init Files App Settings Service
const Settings = new SettingsService()
Object.assign(window.OCA.Files, { Settings })