From 6670cabc25bd2ee1a35a0d0dc733afa3179ca5bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arsenije=20Savi=C4=87?= Date: Wed, 20 Mar 2024 13:19:18 -0600 Subject: [PATCH] feat(members): hide invite button if not member --- src/pages/dho/Members.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/dho/Members.vue b/src/pages/dho/Members.vue index fca81ff4a..8889ca3e6 100644 --- a/src/pages/dho/Members.vue +++ b/src/pages/dho/Members.vue @@ -478,7 +478,7 @@ q-page.page-members .row.inline.q-pr-md(v-if="!isMember && !isApplicant && account") q-btn.q-px-lg.h-btn1(:disable="!daoSettings.registrationEnabled" @click="_applyMember" color="secondary" :label="$t('pages.dho.members.becomeAMember')" no-caps="no-caps" rounded text-color="white" unelevated="unelevated") q-tooltip(v-if="!daoSettings.registrationEnabled") {{ $t('pages.dho.members.registrationIsTemporarilyDisabled') }} - q-btn.q-px-lg.h-btn1(:flat="!account" @click="_createInviteLink" color="secondary" :label="$t('pages.dho.members.copyInviteLink')" no-caps="no-caps" rounded text-color="white" unelevated="unelevated") + q-btn.q-px-lg.h-btn1(v-if="isMember" :flat="!account" @click="_createInviteLink" color="secondary" :label="$t('pages.dho.members.copyInviteLink')" no-caps="no-caps" rounded text-color="white" unelevated="unelevated") q-tooltip {{ $t('pages.dho.members.sendALink') }} q-dialog(:value="isInviteModalOpen")