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 }