diff --git a/packages/web-app-files/src/components/SideBar/Shares/FileShares.vue b/packages/web-app-files/src/components/SideBar/Shares/FileShares.vue index 60e155dacf2..9cc7b8f5017 100644 --- a/packages/web-app-files/src/components/SideBar/Shares/FileShares.vue +++ b/packages/web-app-files/src/components/SideBar/Shares/FileShares.vue @@ -365,7 +365,7 @@ export default { client: this.$client, share: share, resource: this.highlightedFile, - ...(this.currentStorageId && { storageId: this.currentStorageId }) + storageId: this.highlightedFile.fileId || this.highlightedFile.id }) .then(() => { this.hideModal()