remove code in before startblock component

This commit is contained in:
ogerly 2023-02-02 17:54:34 +01:00
parent 4c4b058c7a
commit 41f2acd05d
2 changed files with 11 additions and 2 deletions

View File

@ -1,5 +1,9 @@
<template>
<div class="decayinformation-startblock">
<div class="my-4">
<div class="font-weight-bold pb-2">{{ $t('form.memo') }}</div>
<div>{{ memo }}</div>
</div>
<div class="mt-3 mb-3 text-center">
<b>{{ $t('decay.before_startblock_transaction') }}</b>
</div>
@ -8,5 +12,11 @@
<script>
export default {
name: 'DecayInformation-StartBlock',
props: {
memo: {
type: String,
required: true,
},
},
}
</script>

View File

@ -1,7 +1,6 @@
<template>
<div class="decay-information-box">
<div v-if="decay.start === null && memo" class="mb-4">{{ memo }}</div>
<decay-information-before-startblock v-if="decay.start === null" />
<decay-information-before-startblock v-if="decay.start === null" :memo="memo" />
<decay-information-decay-startblock
v-else-if="isStartBlock"
:amount="amount"