fix: when organizer adds people, they automatically register them as well

This commit is contained in:
2025-11-03 20:21:34 -07:00
parent 73806e78bc
commit 7e861e2fca
8 changed files with 127 additions and 67 deletions

View File

@@ -99,7 +99,7 @@
<font-awesome
v-if="member.did === activeDid"
icon="hand"
class="fa-fw text-blue-500"
class="fa-fw text-slate-500"
/>
<font-awesome
v-if="
@@ -113,10 +113,10 @@
</h3>
<div
v-if="!getContactFor(member.did) && member.did !== activeDid"
class="flex items-center gap-1.5 ms-1"
class="flex items-center gap-1.5 ml-2 ms-1"
>
<button
class="btn-add-contact"
class="btn-add-contact ml-2"
title="Add as contact"
@click="addAsContact(member)"
>
@@ -124,7 +124,7 @@
</button>
<button
class="btn-info-contact"
class="btn-info-contact ml-2"
title="Contact Info"
@click="
informAboutAddingContact(
@@ -135,6 +135,27 @@
<font-awesome icon="circle-info" />
</button>
</div>
<div
v-if="getContactFor(member.did) && member.did !== activeDid"
class="flex items-center gap-1.5 ms-1"
>
<router-link
:to="{ name: 'contact-edit', params: { did: member.did } }"
>
<font-awesome
icon="pen"
class="text-sm text-blue-500 ml-2 mb-1"
/>
</router-link>
<router-link
:to="{ name: 'did', params: { did: member.did } }"
>
<font-awesome
icon="arrow-up-right-from-square"
class="text-sm text-blue-500 ml-2 mb-1"
/>
</router-link>
</div>
</div>
<span
v-if="