-
+
@@ -79,6 +79,15 @@ export default {
}
},
methods: {
+ showTransactionLinks() {
+ if (this.visible) {
+ this.visible = false
+ } else {
+ this.transactionLinks = []
+ this.updateListTransactionLinks()
+ this.visible = true
+ }
+ },
async updateListTransactionLinks() {
if (this.currentPage === 0) {
this.transactionLinks = []
@@ -110,8 +119,5 @@ export default {
this.updateListTransactionLinks()
},
},
- created() {
- this.updateListTransactionLinks()
- },
}
diff --git a/frontend/src/components/Transactions/TransactionReceive.spec.js b/frontend/src/components/Transactions/TransactionReceive.spec.js
index f5b27cf47..46cb57e06 100644
--- a/frontend/src/components/Transactions/TransactionReceive.spec.js
+++ b/frontend/src/components/Transactions/TransactionReceive.spec.js
@@ -31,6 +31,7 @@ const propsData = {
memo: 'sadasd asdasdasdasdadadd da dad aad',
typeId: 'RECEIVE',
decayStartBlock: new Date('2021-05-13T17:46:31.000Z'),
+ previousBookedBalance: '43.56',
}
describe('TransactionReceive', () => {
diff --git a/frontend/src/components/Transactions/TransactionReceive.vue b/frontend/src/components/Transactions/TransactionReceive.vue
index d1947a91a..8899b3807 100644
--- a/frontend/src/components/Transactions/TransactionReceive.vue
+++ b/frontend/src/components/Transactions/TransactionReceive.vue
@@ -13,7 +13,12 @@
-
+
@@ -28,12 +33,7 @@
-
+
@@ -48,7 +48,7 @@ import DecayRow from '../TransactionRows/DecayRow'
import DecayInformation from '../DecayInformations/DecayInformation'
export default {
- name: 'slot-receive',
+ name: 'TransactionReceive',
components: {
CollapseIcon,
TypeIcon,
@@ -82,8 +82,12 @@ export default {
typeId: {
type: String,
},
- decayStartBlock: {
- type: Date,
+ transactionLinkId: {
+ type: Number,
+ required: false,
+ },
+ previousBookedBalance: {
+ type: String,
required: true,
},
},
diff --git a/frontend/src/components/Transactions/TransactionSend.spec.js b/frontend/src/components/Transactions/TransactionSend.spec.js
index 632c0857a..410fcc733 100644
--- a/frontend/src/components/Transactions/TransactionSend.spec.js
+++ b/frontend/src/components/Transactions/TransactionSend.spec.js
@@ -31,6 +31,7 @@ const propsData = {
memo: 'sadasd asdasdasdasdadadd da dad aad',
typeId: 'SEND',
decayStartBlock: new Date('2021-05-13T17:46:31.000Z'),
+ previousBookedBalance: '43.56',
}
describe('TransactionSend', () => {
diff --git a/frontend/src/components/Transactions/TransactionSend.vue b/frontend/src/components/Transactions/TransactionSend.vue
index dfe50225a..f9125b89c 100644
--- a/frontend/src/components/Transactions/TransactionSend.vue
+++ b/frontend/src/components/Transactions/TransactionSend.vue
@@ -13,7 +13,12 @@
-
+
@@ -28,12 +33,7 @@