Skip to content

Commit

Permalink
Fix don't show versions in shared resources
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexAndBear committed Apr 8, 2024
1 parent 3fb1958 commit d1de324
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import {
useCapabilityStore
} from '@ownclouders/web-pkg'
import {
isIncomingShareResource,
isProjectSpaceResource,
isShareResource,
isShareSpaceResource,
Expand Down Expand Up @@ -227,7 +228,10 @@ export const useSideBarPanels = () => {
}
if (
isLocationTrashActive(router, 'files-trash-generic') ||
isLocationPublicActive(router, 'files-public-link')
isLocationPublicActive(router, 'files-public-link') ||
isLocationSharesActive(router, 'files-shares-with-others') ||
isLocationSharesActive(router, 'files-shares-via-link') ||
isIncomingShareResource(items[0])
) {
return false
}
Expand Down

0 comments on commit d1de324

Please sign in to comment.