From 552d041d9d65e651cd4f7d58c90e4966b209983a Mon Sep 17 00:00:00 2001 From: Sandor Muranyi Date: Tue, 8 Oct 2019 08:21:34 +0200 Subject: [PATCH] Fixing claim list alignment issues and renaming did to persona in the table header --- src/components/claimlist/ClaimList.vue | 2 +- src/components/claimlist/ClaimTableItems.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/claimlist/ClaimList.vue b/src/components/claimlist/ClaimList.vue index b2a4fef..b818d82 100644 --- a/src/components/claimlist/ClaimList.vue +++ b/src/components/claimlist/ClaimList.vue @@ -259,7 +259,7 @@ export default { }, getTableFields() { if (this.showDidLabel) { - return ['name', 'value', 'did', 'signatures', 'actions']; + return ['name', 'value', 'persona', 'signatures']; } return ['name', 'value', 'details', 'signatures']; }, diff --git a/src/components/claimlist/ClaimTableItems.js b/src/components/claimlist/ClaimTableItems.js index b3a9b24..88ea7ed 100644 --- a/src/components/claimlist/ClaimTableItems.js +++ b/src/components/claimlist/ClaimTableItems.js @@ -58,7 +58,7 @@ const getClaimTableItems = (claims, schemas, searchTerm, showDidLabel) => claims }; if (showDidLabel) { - row.did = claim.subject_label; + row.persona = claim.subject_label; } return row;