diff --git a/src/views/SummaryParmetersComponent.vue b/src/views/SummaryParmetersComponent.vue index 665ac0bf..2351cc9e 100644 --- a/src/views/SummaryParmetersComponent.vue +++ b/src/views/SummaryParmetersComponent.vue @@ -70,8 +70,8 @@

{{ item.title || '-' }}

- - {{ item.subtitle }} + + {{ formatText(item.subtitle) }} @@ -112,5 +112,8 @@ export default { default: () => {}, }, }, + methods: { + formatText: v => String(v).replaceAll('_', ' '), + }, } diff --git a/src/views/Transaction.vue b/src/views/Transaction.vue index 20d4f5d1..85cdd4b7 100644 --- a/src/views/Transaction.vue +++ b/src/views/Transaction.vue @@ -108,7 +108,6 @@ export default { }, beforeRouteUpdate(to, from, next) { const { hash } = to.params - console.log(hash !== from.params.hash, hash, from.params) if (hash !== from.params.hash) { this.$http.getTxs(hash).then(res => { this.tx = res