forked from jsnbuchanan/crowd-funder-for-time-pwa
feat: hide contact instruction when no non-contact members exist
- Add condition to only show "add to contacts" instruction when there are members who are not already contacts - Use existing getNonContactMembers() method to check for non-contact members - Fix line length warning by breaking long comment into multiple lines
This commit is contained in:
@@ -36,7 +36,11 @@
|
|||||||
<font-awesome icon="circle-minus" class="text-rose-500 text-sm" />
|
<font-awesome icon="circle-minus" class="text-rose-500 text-sm" />
|
||||||
to add/remove them to/from the meeting.
|
to add/remove them to/from the meeting.
|
||||||
</li>
|
</li>
|
||||||
<li v-if="membersToShow().length > 0">
|
<li
|
||||||
|
v-if="
|
||||||
|
membersToShow().length > 0 && getNonContactMembers().length > 0
|
||||||
|
"
|
||||||
|
>
|
||||||
Click
|
Click
|
||||||
<font-awesome icon="circle-user" class="text-green-600 text-sm" />
|
<font-awesome icon="circle-user" class="text-green-600 text-sm" />
|
||||||
to add them to your contacts.
|
to add them to your contacts.
|
||||||
@@ -189,7 +193,10 @@
|
|||||||
:api-server="apiServer"
|
:api-server="apiServer"
|
||||||
@close="closeMemberSelectionDialogCallback"
|
@close="closeMemberSelectionDialogCallback"
|
||||||
/>
|
/>
|
||||||
<!-- This Bulk Visibility component is for non-organizer members to add other members to their contacts and set their visibility -->
|
<!--
|
||||||
|
This Bulk Visibility component is for non-organizer members
|
||||||
|
to add other members to their contacts and set their visibility
|
||||||
|
-->
|
||||||
<SetBulkVisibilityDialog
|
<SetBulkVisibilityDialog
|
||||||
ref="setBulkVisibilityDialog"
|
ref="setBulkVisibilityDialog"
|
||||||
:active-did="activeDid"
|
:active-did="activeDid"
|
||||||
|
|||||||
Reference in New Issue
Block a user