Browse Source

move copy icon for DIDs on contact screen

Trent Larson 4 months ago
parent
commit
d96770a351
  1. 6
      src/views/ContactsView.vue

6
src/views/ContactsView.vue

@ -113,7 +113,7 @@
</router-link>
</h2>
<div class="text-sm truncate">
{{ contact.did }}
Identifier:
<button
@click="
libsUtil.doCopyTwoSecRedo(
@ -121,11 +121,11 @@
() => (showDidCopy = !showDidCopy),
)
"
class="ml-2 mr-2"
>
<fa icon="copy" class="text-slate-400 fa-fw"></fa>
</button>
<span v-show="showDidCopy">Copied DID</span>
<span v-show="showDidCopy" class="text-green-500">Copied DID</span>
{{ contact.did }}
</div>
<div class="text-sm truncate" v-if="contact.publicKeyBase64">
Public Key (base 64): {{ contact.publicKeyBase64 }}

Loading…
Cancel
Save