Skip to content

Commit

Permalink
Merge pull request #7518 from owncloud/fix-preview-loading-share-jail
Browse files Browse the repository at this point in the history
fix: preview loading in share jail
  • Loading branch information
JammingBen authored Aug 25, 2022
2 parents 764716e + 2f019d7 commit 1c7a09a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
1 change: 1 addition & 0 deletions changelog/unreleased/bugfix-file-name-in-text-editor
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ We've fixed a bug in the text editor where the UUID of a shared resource was bei

https://github.com/owncloud/web/pull/7516
https://github.com/owncloud/web/issues/7292
https://github.com/owncloud/web/pull/7518
8 changes: 0 additions & 8 deletions packages/web-app-files/src/components/SideBar/SideBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -234,14 +234,6 @@ export default defineComponent({
this.highlightedFile.webDavPath,
DavProperties.Default
)
if (
this.hasShareJail &&
(isLocationSharesActive(this.$router, 'files-shares-with-me') ||
(isLocationSpacesActive(this.$router, 'files-spaces-share') &&
this.highlightedFile.path === '/'))
) {
item.name = this.highlightedFile.name
}
}
this.selectedFile = buildResource(item)
Expand Down
1 change: 0 additions & 1 deletion packages/web-pkg/src/helpers/preview/privatePreviewBlob.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ interface PrivatePreviewBlobOptions {
userId: string
resource: {
id: string
path: string
webDavPath: string
etag?: string
}
Expand Down

0 comments on commit 1c7a09a

Please sign in to comment.