move limit checks out of "advanced" section, and always allow registration (for tests)

This commit is contained in:
2023-09-04 19:03:45 -06:00
parent 52a6451a2d
commit 6a8b9d36a7
2 changed files with 40 additions and 40 deletions

View File

@@ -121,19 +121,21 @@
</button>
<button
v-if="contact.registered"
class="text-sm uppercase bg-slate-500 text-white px-2 py-1.5 rounded-md"
title="Registered"
>
<fa icon="person-circle-check" class="fa-fw" />
</button>
<button
v-else
@click="register(contact)"
class="text-sm uppercase bg-slate-500 text-white px-2 py-1.5 rounded-md"
title="Registration unknown"
>
<fa icon="person-circle-question" class="fa-fw" />
<fa
v-if="contact.registered"
icon="person-circle-check"
class="fa-fw"
title="Registered"
/>
<fa
v-else
icon="person-circle-question"
class="fa-fw"
title="Registration Unknown"
/>
</button>
<button
@@ -459,6 +461,7 @@ export default class ContactsView extends Vue {
confirm(
"Are you sure you want to use one of your registrations for " +
this.nameForDid(this.contacts, contact.did) +
(contact.registered ? " -- especially since they are already marked as registered" : "") +
"?",
)
) {