Skip to content

Commit

Permalink
feat(members): hide invite button if not member
Browse files Browse the repository at this point in the history
  • Loading branch information
arsenijesavic committed Mar 20, 2024
1 parent 3a62ae8 commit 6670cab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/dho/Members.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 6670cab

Please sign in to comment.