|
@ -180,11 +180,13 @@ export default class ClaimCertificateView extends Vue { |
|
|
|
|
|
|
|
|
// Draw claim issuer |
|
|
// Draw claim issuer |
|
|
console.log("claimData.issuer", claimData.issuer); |
|
|
console.log("claimData.issuer", claimData.issuer); |
|
|
if (claimData.issuer == null |
|
|
if ( |
|
|
|| serverUtil.isHiddenDid(claimData.issuer) |
|
|
claimData.issuer == null || |
|
|
// don't show if issuer claimed for themselves |
|
|
serverUtil.isHiddenDid(claimData.issuer) || |
|
|
// (The confirmations are the good stuff anyway, and self-issued certs shouldn't detract from that.) |
|
|
// don't show if issuer claimed for themselves |
|
|
|| claimData.issuer !== claimData.claim.agent?.identifier) { |
|
|
// (The confirmations are the good stuff anyway, and self-issued certs shouldn't detract from that.) |
|
|
|
|
|
claimData.issuer !== claimData.claim.agent?.identifier |
|
|
|
|
|
) { |
|
|
ctx.font = "14px Arial"; |
|
|
ctx.font = "14px Arial"; |
|
|
let fullIssuer = serverUtil.didInfoForCertificate( |
|
|
let fullIssuer = serverUtil.didInfoForCertificate( |
|
|
claimData.issuer, |
|
|
claimData.issuer, |
|
|