diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-04-17 17:03:44 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-06-04 12:40:48 +0200 |
commit | 91ac7dfb7cbe0b65af3f3aa528d61f2fa6beb5a0 (patch) | |
tree | a0d882f5eef08c6ffe35d1c84968abea737f141b /apps/files/src/store | |
parent | c1fdd9031ce8cf8e737e6091da723f3446c1b713 (diff) | |
download | nextcloud-server-91ac7dfb7cbe0b65af3f3aa528d61f2fa6beb5a0.tar.gz nextcloud-server-91ac7dfb7cbe0b65af3f3aa528d61f2fa6beb5a0.zip |
fix(files): Update current fileid in route if that node was deleted
We do not change the view to the trash bin but stay in the current view,
so we need to update the current fileid on the route if that was deleted.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/files/src/store')
-rw-r--r-- | apps/files/src/store/paths.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/src/store/paths.ts b/apps/files/src/store/paths.ts index 5d5d459f309..23fd69a91e6 100644 --- a/apps/files/src/store/paths.ts +++ b/apps/files/src/store/paths.ts @@ -12,7 +12,7 @@ import logger from '../logger' import { useFilesStore } from './files' export const usePathsStore = function(...args) { - const files = useFilesStore() + const files = useFilesStore(...args) const store = defineStore('paths', { state: () => ({ |