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: project getter in branching (#8013)
boojack53d93da04665
diff --git a/frontend/src/components/SchemaDesigner/CreateSchemaDesignPanel.vue b/frontend/src/components/SchemaDesigner/CreateSchemaDesignPanel.vueindex 3b7ff69b41..66eeca61f8 100644--- a/frontend/src/components/SchemaDesigner/CreateSchemaDesignPanel.vue+++ b/frontend/src/components/SchemaDesigner/CreateSchemaDesignPanel.vue@@ -88,7 +88,7 @@ import { useI18n } from "vue-i18n";import {pushNotification,useDatabaseV1Store,- useProjectV1ByUID,+ useProjectV1Store,useSheetV1Store,} from "@/store";import { useSchemaDesignStore } from "@/store/modules/schemaDesign";@@ -137,6 +137,7 @@ const emit = defineEmits<{const { t } = useI18n();const schemaDesignerRef = ref<InstanceType<typeof SchemaDesigner>>();+const projectStore = useProjectV1Store();const databaseStore = useDatabaseV1Store();const schemaDesignStore = useSchemaDesignStore();const sheetStore = useSheetV1Store();@@ -218,8 +219,8 @@ const cancel = () => {};const project = computed(() => {- const { project } = useProjectV1ByUID(state.projectId || "");- return project.value;+ const project = projectStore.getProjectByUID(state.projectId || "");+ return project;});const handleConfirm = async () => {