Browse Source

move copy icon for DIDs on contact screen

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

Loading…
Cancel
Save