diff --git a/frontend/src/components/DecayInformations/DecayInformation.vue b/frontend/src/components/DecayInformations/DecayInformation.vue
new file mode 100644
index 000000000..ae76a5bb4
--- /dev/null
+++ b/frontend/src/components/DecayInformations/DecayInformation.vue
@@ -0,0 +1,48 @@
+
+
+
+
+
+
+
+
diff --git a/frontend/src/components/Transactions/TransactionCreation.vue b/frontend/src/components/Transactions/TransactionCreation.vue
index 3cef1f110..8801e4f20 100644
--- a/frontend/src/components/Transactions/TransactionCreation.vue
+++ b/frontend/src/components/Transactions/TransactionCreation.vue
@@ -28,14 +28,12 @@
-
-
-
@@ -47,9 +45,7 @@ import AmountAndName from '../TransactionRows/AmountAndName'
import Memo from '../TransactionRows/Memo'
import DateRow from '../TransactionRows/DateRow'
import DecayRow from '../TransactionRows/DecayRow'
-import DecayInformationLong from '../DecayInformations/DecayInformation-Long'
-import DecayInformationBeforeStartblock from '../DecayInformations/DecayInformation-BeforeStartblock'
-import DecayInformationDecayStartblock from '../DecayInformations/DecayInformation-DecayStartblock'
+import DecayInformation from '../DecayInformations/DecayInformation'
export default {
name: 'slot-creation',
@@ -60,9 +56,7 @@ export default {
Memo,
DateRow,
DecayRow,
- DecayInformationLong,
- DecayInformationBeforeStartblock,
- DecayInformationDecayStartblock,
+ DecayInformation,
},
props: {
amount: {
diff --git a/frontend/src/components/Transactions/TransactionReceive.vue b/frontend/src/components/Transactions/TransactionReceive.vue
index 3d4c8ccb1..215b7cee3 100644
--- a/frontend/src/components/Transactions/TransactionReceive.vue
+++ b/frontend/src/components/Transactions/TransactionReceive.vue
@@ -28,14 +28,12 @@
-
-
-
@@ -47,9 +45,7 @@ import AmountAndName from '../TransactionRows/AmountAndName'
import Memo from '../TransactionRows/Memo'
import DateRow from '../TransactionRows/DateRow'
import DecayRow from '../TransactionRows/DecayRow'
-import DecayInformationLong from '../DecayInformations/DecayInformation-Long'
-import DecayInformationBeforeStartblock from '../DecayInformations/DecayInformation-BeforeStartblock'
-import DecayInformationDecayStartblock from '../DecayInformations/DecayInformation-DecayStartblock'
+import DecayInformation from '../DecayInformations/DecayInformation'
export default {
name: 'slot-receive',
@@ -60,9 +56,7 @@ export default {
Memo,
DateRow,
DecayRow,
- DecayInformationLong,
- DecayInformationBeforeStartblock,
- DecayInformationDecayStartblock,
+ DecayInformation,
},
props: {
amount: {
diff --git a/frontend/src/components/Transactions/TransactionSend.vue b/frontend/src/components/Transactions/TransactionSend.vue
index d9f0ed858..b59d2571f 100644
--- a/frontend/src/components/Transactions/TransactionSend.vue
+++ b/frontend/src/components/Transactions/TransactionSend.vue
@@ -28,14 +28,12 @@
-
-
-
@@ -47,9 +45,8 @@ import AmountAndName from '../TransactionRows/AmountAndName'
import Memo from '../TransactionRows/Memo'
import DateRow from '../TransactionRows/DateRow'
import DecayRow from '../TransactionRows/DecayRow'
-import DecayInformationLong from '../DecayInformations/DecayInformation-Long'
-import DecayInformationBeforeStartblock from '../DecayInformations/DecayInformation-BeforeStartblock'
-import DecayInformationDecayStartblock from '../DecayInformations/DecayInformation-DecayStartblock'
+import DecayInformation from '../DecayInformations/DecayInformation'
+
export default {
name: 'slot-send',
components: {
@@ -59,9 +56,7 @@ export default {
Memo,
DateRow,
DecayRow,
- DecayInformationLong,
- DecayInformationBeforeStartblock,
- DecayInformationDecayStartblock,
+ DecayInformation,
},
props: {
amount: {
@@ -95,10 +90,5 @@ export default {
visible: false,
}
},
- computed: {
- isStartBlock() {
- return new Date(this.decay.start).getTime() === this.decayStartBlock.getTime()
- },
- },
}