Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix: use composed value rather than implicitly data dependency (#5971)
Liu Ji4223b8e29c6e
diff --git a/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vue b/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vueindex 16ed80365b..00a9da88e2 100644--- a/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vue+++ b/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vue@@ -134,13 +134,13 @@ import {DatabaseId,dialectOfEngine,EngineType,+ unknown,UNKNOWN_ID,} from "@/types";import { allowGhostMigration } from "@/utils";import {useDatabaseStore,useNotificationStore,- useProjectStore,useSchemaEditorStore,} from "@/store";import {@@ -223,9 +223,7 @@ const databaseEngineType = computed((): EngineType | "unknown" => {return engineTypes[0];});-const project = useProjectStore().getProjectById(- head(databaseList)?.projectId || UNKNOWN_ID-);+const project = head(databaseList)?.project ?? unknown("PROJECT");const isTenantProject = project.tenantMode === "TENANT";onMounted(() => {