Skip to content

Commit

Permalink
fix: rebase mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
kulmann committed Sep 14, 2022
1 parent e052659 commit 33686b3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export default defineComponent({
inviteLabel() {
if (this.selectedRole.hasCustomPermissions) {
return this.$gettext('Invite with custom permissions')
} else if (this.selectedRole.permissions().includes(SharePermissions.deny)) {
} else if (this.selectedRole.permissions().includes(SharePermissions.denied)) {
return this.$gettext('Deny access')
} else {
return this.$gettextInterpolate(this.$gettext('Invite as %{ name }'), {
Expand All @@ -189,7 +189,7 @@ export default defineComponent({
},
availableRoles() {
if (this.resourceIsSpace) {
return SpacePeopleShareRoles.list(this.resource.canDeny())
return SpacePeopleShareRoles.list()
}
if (this.incomingParentShare.value && this.resourceIsSharable) {
Expand Down

0 comments on commit 33686b3

Please sign in to comment.