fix(files): Make navigation reactive again

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
Ferdinand Thiessen 2024-06-13 16:00:29 +02:00
parent 1bc8b20de1
commit 7d002dbdba
No known key found for this signature in database
GPG key ID: 45FAE7268762B400

View file

@ -38,7 +38,7 @@ Vue.use(PiniaVuePlugin)
const pinia = createPinia()
// Init Navigation Service
const Navigation = new NavigationService()
const Navigation = Vue.observable(new NavigationService())
Object.assign(window.OCP.Files, { Navigation })
Vue.prototype.$navigation = Navigation