diff --git a/webapp/src/components/vault/VaultDialogs.tsx b/webapp/src/components/vault/VaultDialogs.tsx index b54a87f..a949c8c 100644 --- a/webapp/src/components/vault/VaultDialogs.tsx +++ b/webapp/src/components/vault/VaultDialogs.tsx @@ -1,6 +1,6 @@ import ConfirmDialog from '@/components/ConfirmDialog'; import type { CustomFieldType, Folder } from '@/lib/types'; -import { FIELD_TYPE_OPTIONS, toBooleanFieldValue } from '@/components/vault/vault-page-helpers'; +import { getFieldTypeOptions, toBooleanFieldValue } from '@/components/vault/vault-page-helpers'; import { t } from '@/lib/i18n'; interface VaultDialogsProps { @@ -61,6 +61,7 @@ interface VaultDialogsProps { } export default function VaultDialogs(props: VaultDialogsProps) { + const fieldTypeOptions = getFieldTypeOptions(); return ( <> {t('txt_field_type')}