diff --git a/src/components/OneofRefsSelect.vue b/src/components/OneofRefsSelect.vue index 20259daa3..dd60c5665 100644 --- a/src/components/OneofRefsSelect.vue +++ b/src/components/OneofRefsSelect.vue @@ -14,7 +14,7 @@ /> - + {{ label }} diff --git a/src/views/Auth/AuthnCreate.vue b/src/views/Auth/AuthnCreate.vue index b4ec1f114..9dbaa1846 100644 --- a/src/views/Auth/AuthnCreate.vue +++ b/src/views/Auth/AuthnCreate.vue @@ -24,7 +24,7 @@ > @@ -60,10 +60,10 @@ v-if="!isDisabledDatabase(item.value)" :value="$t('Base.added')" class="item" - :hidden="((!addedAuthn.includes(`${mechanism}_${item.value}`) || gateway) as boolean)" + :hidden="!!(!addedAuthn.includes(`${mechanism}_${item.value}`) || gateway)" > { const { disabledDatabases } = props @@ -379,7 +379,7 @@ const beforeNext = function () { const { step, activeGuidesIndex, guideDescList, handleNext, handleBack } = useGuide(beforeNext) const handleCreate = async function () { - let isVerified = (await formCom.value.validate().catch(() => { + const isVerified = (await formCom.value.validate().catch(() => { jumpToErrorFormItem() })) ? true diff --git a/src/views/Auth/AuthzCreate.vue b/src/views/Auth/AuthzCreate.vue index cf8b0ff9d..948561580 100644 --- a/src/views/Auth/AuthzCreate.vue +++ b/src/views/Auth/AuthzCreate.vue @@ -21,7 +21,7 @@ > @@ -60,7 +60,7 @@ -