From c4a54967bc140430f46844edeb719cc6dcf9e353 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Wed, 18 Jun 2025 16:33:55 -0600 Subject: [PATCH] fix linting --- src/views/ConfirmGiftView.vue | 4 ++-- src/views/ContactQRScanFullView.vue | 4 +++- src/views/ContactQRScanShowView.vue | 4 +++- src/views/UserProfileView.vue | 15 ++++++--------- 4 files changed, 14 insertions(+), 13 deletions(-) diff --git a/src/views/ConfirmGiftView.vue b/src/views/ConfirmGiftView.vue index 793df516..fbf81bab 100644 --- a/src/views/ConfirmGiftView.vue +++ b/src/views/ConfirmGiftView.vue @@ -679,8 +679,8 @@ export default class ConfirmGiftView extends Vue { /** * Add participant (giver/recipient) name & URL info */ - this.giverName = this.didInfo(this.giveDetails?.agentDid); - if (this.giveDetails?.agentDid) { + this.giverName = this.didInfo(this.giveDetails?.agentDid); + if (this.giveDetails?.agentDid) { this.urlForNewGive += `&giverDid=${encodeURIComponent(this.giveDetails.agentDid)}&giverName=${encodeURIComponent(this.giverName)}`; } this.recipientName = this.didInfo(this.giveDetails?.recipientDid); diff --git a/src/views/ContactQRScanFullView.vue b/src/views/ContactQRScanFullView.vue index 1ca08edc..c5a08b74 100644 --- a/src/views/ContactQRScanFullView.vue +++ b/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, diff --git a/src/views/ContactQRScanShowView.vue b/src/views/ContactQRScanShowView.vue index 675559e7..29b28e5f 100644 --- a/src/views/ContactQRScanShowView.vue +++ b/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, diff --git a/src/views/UserProfileView.vue b/src/views/UserProfileView.vue index 11db4a09..1defd348 100644 --- a/src/views/UserProfileView.vue +++ b/src/views/UserProfileView.vue @@ -16,9 +16,7 @@ Individual Profile -
- -
+
@@ -35,11 +33,11 @@
{{ didInfo(profile.issuerDid, activeDid, allMyDids, allContacts) }} -

@@ -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)