Skip to content

Commit

Permalink
fix invite button showing bo non-placeholder users
Browse files Browse the repository at this point in the history
  • Loading branch information
Onatcer committed Apr 22, 2024
1 parent bb0753d commit a3ed9c5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion resources/js/Components/Common/Member/MemberTableRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ async function invitePlaceholder(id: string) {
</div>
<div
class="relative whitespace-nowrap flex items-center pl-3 text-right text-sm font-medium sm:pr-0 pr-4 sm:pr-6 lg:pr-8 3xl:pr-12">
<SecondaryButton @click="invitePlaceholder(member.id)" size="small"
<SecondaryButton
v-if="member.is_placeholder === true"
@click="invitePlaceholder(member.id)"
size="small"
>Invite</SecondaryButton
>
<MemberMoreOptionsDropdown
Expand Down

0 comments on commit a3ed9c5

Please sign in to comment.