refactor(mfa): use Button link variant for toggle in disable dialog
This commit is contained in:
@@ -183,17 +183,16 @@ defineExpose({
|
||||
:label="$t('MFA_SETTINGS.DISABLE.BACKUP_CODE')"
|
||||
:placeholder="$t('MFA_SETTINGS.DISABLE.BACKUP_CODE_PLACEHOLDER')"
|
||||
/>
|
||||
<button
|
||||
type="button"
|
||||
class="text-sm text-n-brand hover:underline"
|
||||
@click="toggleDisableMethod"
|
||||
>
|
||||
{{
|
||||
<Button
|
||||
link
|
||||
sm
|
||||
:label="
|
||||
useBackupCodeToDisable
|
||||
? $t('MFA_SETTINGS.DISABLE.USE_OTP_CODE')
|
||||
: $t('MFA_SETTINGS.DISABLE.USE_BACKUP_CODE')
|
||||
}}
|
||||
</button>
|
||||
"
|
||||
@click="toggleDisableMethod"
|
||||
/>
|
||||
</div>
|
||||
</Dialog>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user