Skip to content

Commit

Permalink
Merge pull request #10089 from owncloud/fix-internal-link-check
Browse files Browse the repository at this point in the history
fix: checking for internal links
  • Loading branch information
kulmann authored Nov 29, 2023
2 parents 14eadb3 + 41d79ba commit 684eda2
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,10 @@ export default defineComponent({
},
isAliasLink() {
return [linkRoleInternalFolder, linkRoleInternalFile].includes(this.currentLinkRole)
if (this.isFolderShare) {
return parseInt(this.link.permissions) == linkRoleInternalFolder.bitmask(false)
}
return parseInt(this.link.permissions) == linkRoleInternalFile.bitmask(false)
},
currentLinkNotifyUploads() {
Expand Down

0 comments on commit 684eda2

Please sign in to comment.