fix(files): Fix naming issue for reserved Vue property names

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/45394/head
Ferdinand Thiessen 2024-05-17 13:50:10 +07:00
parent 02dc1bcf36
commit 85c93b54a4
1 changed files with 3 additions and 3 deletions

@ -214,7 +214,7 @@ export default defineComponent({
promise: null,
Type,
_unsubscribeStore: () => {},
unsubscribeStoreCallback: () => {},
}
},
@ -457,14 +457,14 @@ export default defineComponent({
subscribe('nextcloud:unified-search.reset', this.onSearch)
// reload on settings change
this._unsubscribeStore = this.userConfigStore.$subscribe(() => this.fetchContent(), { deep: true })
this.unsubscribeStoreCallback = this.userConfigStore.$subscribe(() => this.fetchContent(), { deep: true })
},
unmounted() {
unsubscribe('files:node:updated', this.onUpdatedNode)
unsubscribe('nextcloud:unified-search.search', this.onSearch)
unsubscribe('nextcloud:unified-search.reset', this.onSearch)
this._unsubscribeStore()
this.unsubscribeStoreCallback()
},
methods: {