Skip to content

Commit

Permalink
Add sharing jail check
Browse files Browse the repository at this point in the history
  • Loading branch information
JanAckermann committed Aug 2, 2022
1 parent 737705b commit 2a2bc65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web-app-files/src/store/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export default {
})
}

if (context.getters.capabilities.share_jail === true && file.isReceivedShare()) {
if (context.rootGetters.capabilities?.spaces?.share_jail === true && file.isReceivedShare()) {
newPath = `/spaces/${SHARE_JAIL_ID}!${SHARE_JAIL_ID}/`
}

Expand Down

0 comments on commit 2a2bc65

Please sign in to comment.