forked from trent_larson/crowd-funder-for-time-pwa
fix linting
This commit is contained in:
@@ -679,8 +679,8 @@ export default class ConfirmGiftView extends Vue {
|
|||||||
/**
|
/**
|
||||||
* Add participant (giver/recipient) name & URL info
|
* Add participant (giver/recipient) name & URL info
|
||||||
*/
|
*/
|
||||||
this.giverName = this.didInfo(this.giveDetails?.agentDid);
|
this.giverName = this.didInfo(this.giveDetails?.agentDid);
|
||||||
if (this.giveDetails?.agentDid) {
|
if (this.giveDetails?.agentDid) {
|
||||||
this.urlForNewGive += `&giverDid=${encodeURIComponent(this.giveDetails.agentDid)}&giverName=${encodeURIComponent(this.giverName)}`;
|
this.urlForNewGive += `&giverDid=${encodeURIComponent(this.giveDetails.agentDid)}&giverName=${encodeURIComponent(this.giverName)}`;
|
||||||
}
|
}
|
||||||
this.recipientName = this.didInfo(this.giveDetails?.recipientDid);
|
this.recipientName = this.didInfo(this.giveDetails?.recipientDid);
|
||||||
|
|||||||
@@ -593,7 +593,9 @@ export default class ContactQRScanFull extends Vue {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async onCopyUrlToClipboard() {
|
async onCopyUrlToClipboard() {
|
||||||
const account = await libsUtil.retrieveFullyDecryptedAccount(this.activeDid) as Account;
|
const account = (await libsUtil.retrieveFullyDecryptedAccount(
|
||||||
|
this.activeDid,
|
||||||
|
)) as Account;
|
||||||
const jwtUrl = await generateEndorserJwtUrlForAccount(
|
const jwtUrl = await generateEndorserJwtUrlForAccount(
|
||||||
account,
|
account,
|
||||||
this.isRegistered,
|
this.isRegistered,
|
||||||
|
|||||||
@@ -672,7 +672,9 @@ export default class ContactQRScanShow extends Vue {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async onCopyUrlToClipboard() {
|
async onCopyUrlToClipboard() {
|
||||||
const account = await libsUtil.retrieveFullyDecryptedAccount(this.activeDid) as Account;
|
const account = (await libsUtil.retrieveFullyDecryptedAccount(
|
||||||
|
this.activeDid,
|
||||||
|
)) as Account;
|
||||||
const jwtUrl = await generateEndorserJwtUrlForAccount(
|
const jwtUrl = await generateEndorserJwtUrlForAccount(
|
||||||
account,
|
account,
|
||||||
this.isRegistered,
|
this.isRegistered,
|
||||||
|
|||||||
@@ -16,9 +16,7 @@
|
|||||||
</button>
|
</button>
|
||||||
Individual Profile
|
Individual Profile
|
||||||
</h1>
|
</h1>
|
||||||
<div class="text-sm text-center text-slate-500">
|
<div class="text-sm text-center text-slate-500"></div>
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Loading Animation -->
|
<!-- Loading Animation -->
|
||||||
@@ -35,11 +33,11 @@
|
|||||||
<div class="text-sm">
|
<div class="text-sm">
|
||||||
<font-awesome icon="user" class="fa-fw text-slate-400"></font-awesome>
|
<font-awesome icon="user" class="fa-fw text-slate-400"></font-awesome>
|
||||||
{{ didInfo(profile.issuerDid, activeDid, allMyDids, allContacts) }}
|
{{ didInfo(profile.issuerDid, activeDid, allMyDids, allContacts) }}
|
||||||
<button
|
<button title="Copy Link to Profile" @click="onCopyLinkClick()">
|
||||||
title="Copy Link to Profile"
|
<font-awesome
|
||||||
@click="onCopyLinkClick()"
|
icon="link"
|
||||||
>
|
class="text-sm text-slate-500 ml-2 mb-1"
|
||||||
<font-awesome icon="link" class="text-sm text-slate-500 ml-2 mb-1" />
|
/>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<p v-if="profile.description" class="mt-4 text-slate-600">
|
<p v-if="profile.description" class="mt-4 text-slate-600">
|
||||||
@@ -221,7 +219,6 @@ export default class UserProfileView extends Vue {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onCopyLinkClick() {
|
onCopyLinkClick() {
|
||||||
console.log("onCopyLinkClick", this.profile);
|
|
||||||
const deepLink = `${APP_SERVER}/deep-link/user-profile/${this.profile?.rowId}`;
|
const deepLink = `${APP_SERVER}/deep-link/user-profile/${this.profile?.rowId}`;
|
||||||
useClipboard()
|
useClipboard()
|
||||||
.copy(deepLink)
|
.copy(deepLink)
|
||||||
|
|||||||
Reference in New Issue
Block a user