Set Back/Close/Cancel buttons using a component

This commit is contained in:
Bubka
2023-11-03 13:20:40 +01:00
parent b9eb4f0afb
commit 929a513ad7
16 changed files with 104 additions and 133 deletions

View File

@ -109,14 +109,7 @@
</div>
<!-- Footer -->
<VueFooter :showButtons="true" >
<!-- back button -->
<p class="control" v-if="! twofaccounts.isEmpty">
<UseColorMode v-slot="{ mode }">
<RouterLink id="lnkBack" class="button is-rounded" :class="{'is-dark' : mode == 'dark'}" :to="{ name: 'accounts' }" >
{{ $t('commons.back') }}
</RouterLink>
</UseColorMode>
</p>
<ButtonBackCloseCancel action="back" v-if="!twofaccounts.isEmpty" />
</VueFooter>
</div>
</template>