fix: add cancel button
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
kolaente 2021-10-26 21:24:47 +02:00
parent 14c5efee92
commit 53dd4324a1
Signed by: konrad
GPG Key ID: F40E70337AB24C9B

View File

@ -29,7 +29,7 @@
v-model="totpConfirmPasscode"/> v-model="totpConfirmPasscode"/>
</div> </div>
</div> </div>
<x-button @click="totpConfirm()">{{ $t('misc.confirm') }}</x-button> <x-button @click="totpConfirm">{{ $t('misc.confirm') }}</x-button>
</template> </template>
<template v-else-if="totp.secret !== '' && totp.enabled"> <template v-else-if="totp.secret !== '' && totp.enabled">
<p> <p>
@ -52,9 +52,12 @@
v-model="totpDisablePassword"/> v-model="totpDisablePassword"/>
</div> </div>
</div> </div>
<x-button @click="totpDisable()" class="is-danger"> <x-button @click="totpDisable" class="is-danger">
{{ $t('user.settings.totp.disable') }} {{ $t('user.settings.totp.disable') }}
</x-button> </x-button>
<x-button @click="totpDisableForm = false" type="tertary" class="ml-2">
{{ $t('misc.cancel') }}
</x-button>
</div> </div>
</template> </template>
</card> </card>