diff --git a/src/libs/endorserServer.ts b/src/libs/endorserServer.ts index ff4c6f3..5a44e49 100644 --- a/src/libs/endorserServer.ts +++ b/src/libs/endorserServer.ts @@ -483,7 +483,8 @@ export function didInfoForCertificate( did: string | undefined, contacts: Contact[], ): string { - return didInfoForContact(did, undefined, contactForDid(did, contacts), []).displayName; + return didInfoForContact(did, undefined, contactForDid(did, contacts), []) + .displayName; } let passkeyAccessToken: string = ""; diff --git a/src/main.ts b/src/main.ts index f4e7b15..08525c5 100644 --- a/src/main.ts +++ b/src/main.ts @@ -59,6 +59,7 @@ import { faImagePortrait, faLeftRight, faLightbulb, + faLink, faLocationDot, faLongArrowAltLeft, faLongArrowAltRight, @@ -134,6 +135,7 @@ library.add( faImagePortrait, faLeftRight, faLightbulb, + faLink, faLocationDot, faLongArrowAltLeft, faLongArrowAltRight, diff --git a/src/router/index.ts b/src/router/index.ts index d01be86..5c198c3 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -45,7 +45,7 @@ const routes: Array = [ component: () => import("../views/ClaimAddRawView.vue"), }, { - path: "/claim-cert/:id?", + path: "/claim-cert/:id", name: "claim-cert", component: () => import("../views/ClaimCertificateView.vue"), }, diff --git a/src/views/ClaimCertificateView.vue b/src/views/ClaimCertificateView.vue index ea4a869..e1d7d6f 100644 --- a/src/views/ClaimCertificateView.vue +++ b/src/views/ClaimCertificateView.vue @@ -26,7 +26,7 @@ import { db, retrieveSettingsForActiveAccount } from "@/db/index"; import * as endorserServer from "@/libs/endorserServer"; @Component -export default class ClaimViewCertificate extends Vue { +export default class ClaimCertificateView extends Vue { $notify!: (notification: NotificationIface, timeout?: number) => void; activeDid = ""; diff --git a/src/views/ClaimView.vue b/src/views/ClaimView.vue index c8f2725..abfde3c 100644 --- a/src/views/ClaimView.vue +++ b/src/views/ClaimView.vue @@ -39,16 +39,26 @@ - + +
+ +
@@ -550,6 +560,7 @@ export default class ClaimView extends Vue { yaml = yaml; libsUtil = libsUtil; serverUtil = serverUtil; + window = window; resetThisValues() { this.confirmerIdList = []; @@ -999,3 +1010,37 @@ export default class ClaimView extends Vue { } } +