Browse Source

fix problem on claim view showing issuer name

split_build_process
Trent Larson 2 months ago
parent
commit
5fc021b197
  1. 2
      src/views/ClaimView.vue

2
src/views/ClaimView.vue

@ -553,7 +553,6 @@ export default class ClaimView extends Vue {
const accounts = accountsDB.accounts;
const accountsArr: Array<Account> = await accounts?.toArray();
this.allMyDids = accountsArr.map((acc) => acc.did);
this.issuerName = this.didInfo(this.veriClaim.issuer);
const pathParam = window.location.pathname.substring("/claim/".length);
let claimId;
@ -614,6 +613,7 @@ export default class ClaimView extends Vue {
const resp = await this.axios.get(url, { headers });
if (resp.status === 200) {
this.veriClaim = resp.data;
this.issuerName = this.didInfo(this.veriClaim.issuer);
this.veriClaimDump = yaml.dump(this.veriClaim);
this.veriClaimDidsVisible = libsUtil.findAllVisibleToDids(
this.veriClaim,

Loading…
Cancel
Save