From 85c93b54a445d449928ebd9b0a7c93c40735943b Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Fri, 17 May 2024 13:50:10 +0200 Subject: fix(files): Fix naming issue for reserved Vue property names Signed-off-by: Ferdinand Thiessen --- apps/files/src/views/FilesList.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/files/src') 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: { -- cgit v1.2.3