mirror of
https://github.com/nextcloud/server.git
synced 2026-02-18 18:28:50 -05:00
fix(files): Fix naming issue for reserved Vue property names
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
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: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue