Skip to content

Commit

Permalink
Fix sharesTree errors in share jail
Browse files Browse the repository at this point in the history
  • Loading branch information
JammingBen committed Jul 22, 2022
1 parent b9aff83 commit ec018a2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ export default defineComponent({
client,
share,
path,
...(this.currentStorageId && { storageId: this.currentStorageId })
storageId: resource.fileId
})
.then(
this.showMessage({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ export default {
client: this.$client,
share: share,
path,
...(this.currentStorageId && { storageId: this.currentStorageId })
storageId: this.highlightedFile.fileId
})
.then(() => {
this.hideModal()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export class FolderLoaderSpacesShare implements FolderLoader {
currentFolder = aggregatedShares[0]
}

if (hasResharing.value) {
if (hasResharing.value && resources.length) {
yield store.dispatch('Files/loadSharesTree', {
client: clientService.owncloudSdk,
path: currentFolder.path
Expand Down

0 comments on commit ec018a2

Please sign in to comment.