mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-15 16:22:25 +02:00
Set Options with fallback values and better boolean handling
This commit is contained in:
@ -23,8 +23,8 @@
|
||||
fail: '',
|
||||
form: new Form({
|
||||
lang: this.$root.$i18n.locale,
|
||||
showTokenAsDot: Boolean(Number(appSettings.showTokenAsDot)),
|
||||
isDemoApp: Boolean(Number(appSettings.isDemoApp)),
|
||||
showTokenAsDot: appSettings.showTokenAsDot,
|
||||
isDemoApp: appSettings.isDemoApp,
|
||||
}),
|
||||
options: [
|
||||
{ text: this.$t('languages.en'), value: 'en' },
|
||||
|
Reference in New Issue
Block a user