mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-19 03:04:05 +00:00
Remove Add Member button and Create page — members are added via invitation only
This commit is contained in:
@@ -27,7 +27,6 @@
|
||||
|
||||
<BaseButton
|
||||
v-if="userStore.currentUser.is_owner"
|
||||
variant="primary-outline"
|
||||
@click="showInviteModal = true"
|
||||
>
|
||||
<template #left="slotProps">
|
||||
@@ -39,20 +38,6 @@
|
||||
</template>
|
||||
{{ $t('members.invite_member') }}
|
||||
</BaseButton>
|
||||
|
||||
<BaseButton
|
||||
v-if="userStore.currentUser.is_owner"
|
||||
@click="$router.push('members/create')"
|
||||
>
|
||||
<template #left="slotProps">
|
||||
<BaseIcon
|
||||
name="PlusIcon"
|
||||
:class="slotProps.class"
|
||||
aria-hidden="true"
|
||||
/>
|
||||
</template>
|
||||
{{ $t('members.add_member') }}
|
||||
</BaseButton>
|
||||
</div>
|
||||
</template>
|
||||
</BasePageHeader>
|
||||
|
||||
Reference in New Issue
Block a user