aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/src')
-rw-r--r--apps/files/src/views/FilesList.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/src/views/FilesList.vue b/apps/files/src/views/FilesList.vue
index 82be9afabde..3a671c3b272 100644
--- a/apps/files/src/views/FilesList.vue
+++ b/apps/files/src/views/FilesList.vue
@@ -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: {