diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-05-17 13:50:10 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-05-23 07:19:06 +0200 |
commit | 85c93b54a445d449928ebd9b0a7c93c40735943b (patch) | |
tree | 9fd0fd2b5173515710b55cafb31e7e73b3672487 /apps/files/src | |
parent | 02dc1bcf36ffac7e2ff14b7a1dabcff6754f365b (diff) | |
download | nextcloud-server-85c93b54a445d449928ebd9b0a7c93c40735943b.tar.gz nextcloud-server-85c93b54a445d449928ebd9b0a7c93c40735943b.zip |
fix(files): Fix naming issue for reserved Vue property names
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/files/src')
-rw-r--r-- | apps/files/src/views/FilesList.vue | 6 |
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: { |