From ce9667177867113a360df19a5d8bf0d0b3872af0 Mon Sep 17 00:00:00 2001 From: Jannik Stehle Date: Thu, 25 May 2023 14:40:39 +0200 Subject: [PATCH] fix: share indicator loading after pasting resources --- changelog/unreleased/bugfix-share-indicator-after-pasting | 6 ++++++ packages/web-app-files/src/store/actions.ts | 2 ++ 2 files changed, 8 insertions(+) create mode 100644 changelog/unreleased/bugfix-share-indicator-after-pasting diff --git a/changelog/unreleased/bugfix-share-indicator-after-pasting b/changelog/unreleased/bugfix-share-indicator-after-pasting new file mode 100644 index 00000000000..b31e5734dd6 --- /dev/null +++ b/changelog/unreleased/bugfix-share-indicator-after-pasting @@ -0,0 +1,6 @@ +Bugfix: Share indicator loading after pasting resources + +Share indicators are now being displayed correctly after pasting resources into shared folders. + +https://github.com/owncloud/web/issues/9030 +https://github.com/owncloud/web/pull/9110 diff --git a/packages/web-app-files/src/store/actions.ts b/packages/web-app-files/src/store/actions.ts index 0ccfadcf8e5..477b987788e 100644 --- a/packages/web-app-files/src/store/actions.ts +++ b/packages/web-app-files/src/store/actions.ts @@ -125,7 +125,9 @@ export default { } return Promise.all(loadingResources).then(() => { + const currentFolder = context.getters.currentFolder context.commit('UPSERT_RESOURCES', fetchedResources) + context.commit('LOAD_INDICATORS', currentFolder.path) }) }, { debounceTime: 0 }