Fix icon not being displayed in the creation quick form

This commit is contained in:
Bubka 2023-11-20 13:12:14 +01:00
parent 0660957f51
commit 89657bb5aa
2 changed files with 12 additions and 0 deletions

View File

@ -53,6 +53,15 @@
const totpLooper = ref()
const otpSpanTag = ref()
watch(
() => props.icon,
(val) => {
if (val != undefined) {
otpauthParams.value.icon = val
}
}
)
/***
*
*/

View File

@ -244,6 +244,9 @@
twofaccountService.deleteIcon(tempIcon.value)
tempIcon.value = ''
}
if (showQuickForm.value) {
form.icon = tempIcon.value
}
}
/**