diff --git a/src/components/ContractItem.vue b/src/components/ContractItem.vue index bc835ee4..193b31c3 100644 --- a/src/components/ContractItem.vue +++ b/src/components/ContractItem.vue @@ -10,7 +10,7 @@ - {{ 1 + (item.tx_count || 0) }} operations till + {{ item.tx_count || 1 }} operations till {{ formatDate(item.last_action || item.timestamp) }} @@ -25,7 +25,7 @@ export default { props: { item: Object, to: Object, - basetime: Number + basetime: String }, name: "ContractItem", methods: { diff --git a/src/components/SimilarItem.vue b/src/components/SimilarItem.vue index 94228e15..26c0bd5b 100644 --- a/src/components/SimilarItem.vue +++ b/src/components/SimilarItem.vue @@ -22,7 +22,7 @@ - {{ 1 + (item.tx_count || 0) }} operations till + {{ item.tx_count || 1 }} operations till {{ formatDate(item.last_action || item.timestamp) }} @@ -50,7 +50,7 @@ export default { item: Object, address: String, network: String, - basetime: Number + basetime: String }, computed: { consumed_gas_diff() {