diff options
Diffstat (limited to 'app/assets/javascripts/members/components/action_buttons/access_request_action_buttons.vue')
-rw-r--r-- | app/assets/javascripts/members/components/action_buttons/access_request_action_buttons.vue | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/app/assets/javascripts/members/components/action_buttons/access_request_action_buttons.vue b/app/assets/javascripts/members/components/action_buttons/access_request_action_buttons.vue index d092283338c..f4893721b9e 100644 --- a/app/assets/javascripts/members/components/action_buttons/access_request_action_buttons.vue +++ b/app/assets/javascripts/members/components/action_buttons/access_request_action_buttons.vue @@ -7,15 +7,12 @@ import RemoveMemberButton from './remove_member_button.vue'; export default { name: 'AccessRequestActionButtons', components: { ActionButtonGroup, RemoveMemberButton, ApproveAccessRequestButton }, + inheritAttrs: false, props: { member: { type: Object, required: true, }, - permissions: { - type: Object, - required: true, - }, isCurrentUser: { type: Boolean, required: true, @@ -43,10 +40,10 @@ export default { <template> <action-button-group> - <div v-if="permissions.canUpdate" class="gl-px-1"> + <div class="gl-px-1"> <approve-access-request-button :member-id="member.id" /> </div> - <div v-if="permissions.canRemove" class="gl-px-1"> + <div class="gl-px-1"> <remove-member-button :member-id="member.id" :message="message" |