Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: fix i18n use case (#11099)
Liu Ji4d42653a5147
diff --git a/frontend/src/components/SchemaEditorLite/utils/columnDefaultValue.ts b/frontend/src/components/SchemaEditorLite/utils/columnDefaultValue.tsindex 5f4c82d10e..9d9fa16fd2 100644--- a/frontend/src/components/SchemaEditorLite/utils/columnDefaultValue.ts+++ b/frontend/src/components/SchemaEditorLite/utils/columnDefaultValue.ts@@ -1,5 +1,5 @@import { DropdownOption } from "naive-ui";-import { useI18n } from "vue-i18n";+import { t } from "@/plugins/i18n";import { Engine } from "@/types/proto/v1/common";import { ColumnDefaultValue } from "@/types/v1/schemaEditor";@@ -169,7 +169,6 @@ export const getColumnDefaultValueOptions = (engine: Engine,columnType: string): (DefaultValueOption & DropdownOption)[] => {- const { t } = useI18n();return getColumnTypeDefaultValueOptions(engine, columnType).map((option) => {return {...option,