Browse Source

fix linting

deep-link-redirect-server
Trent Larson 2 days ago
parent
commit
c4a54967bc
  1. 4
      src/views/ContactQRScanFullView.vue
  2. 4
      src/views/ContactQRScanShowView.vue
  3. 15
      src/views/UserProfileView.vue

4
src/views/ContactQRScanFullView.vue

@ -593,7 +593,9 @@ export default class ContactQRScanFull extends Vue {
}
async onCopyUrlToClipboard() {
const account = await libsUtil.retrieveFullyDecryptedAccount(this.activeDid) as Account;
const account = (await libsUtil.retrieveFullyDecryptedAccount(
this.activeDid,
)) as Account;
const jwtUrl = await generateEndorserJwtUrlForAccount(
account,
this.isRegistered,

4
src/views/ContactQRScanShowView.vue

@ -672,7 +672,9 @@ export default class ContactQRScanShow extends Vue {
}
async onCopyUrlToClipboard() {
const account = await libsUtil.retrieveFullyDecryptedAccount(this.activeDid) as Account;
const account = (await libsUtil.retrieveFullyDecryptedAccount(
this.activeDid,
)) as Account;
const jwtUrl = await generateEndorserJwtUrlForAccount(
account,
this.isRegistered,

15
src/views/UserProfileView.vue

@ -16,9 +16,7 @@
</button>
Individual Profile
</h1>
<div class="text-sm text-center text-slate-500">
</div>
<div class="text-sm text-center text-slate-500"></div>
</div>
<!-- Loading Animation -->
@ -35,11 +33,11 @@
<div class="text-sm">
<font-awesome icon="user" class="fa-fw text-slate-400"></font-awesome>
{{ didInfo(profile.issuerDid, activeDid, allMyDids, allContacts) }}
<button
title="Copy Link to Profile"
@click="onCopyLinkClick()"
>
<font-awesome icon="link" class="text-sm text-slate-500 ml-2 mb-1" />
<button title="Copy Link to Profile" @click="onCopyLinkClick()">
<font-awesome
icon="link"
class="text-sm text-slate-500 ml-2 mb-1"
/>
</button>
</div>
<p v-if="profile.description" class="mt-4 text-slate-600">
@ -221,7 +219,6 @@ export default class UserProfileView extends Vue {
}
onCopyLinkClick() {
console.log("onCopyLinkClick", this.profile);
const deepLink = `${APP_SERVER}/deep-link/user-profile/${this.profile?.rowId}`;
useClipboard()
.copy(deepLink)

Loading…
Cancel
Save