Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: semantic types issues (#9259)

ecmadao26b955a124a1
diff --git a/frontend/src/components/SensitiveData/MaskingAlgorithmsView.vue b/frontend/src/components/SensitiveData/MaskingAlgorithmsView.vue
index 0d3b33f347..44e5cbac25 100644
--- a/frontend/src/components/SensitiveData/MaskingAlgorithmsView.vue
+++ b/frontend/src/components/SensitiveData/MaskingAlgorithmsView.vue
@@ -56,9 +56,6 @@ const hasSensitiveDataFeature = featureToRef("bb.feature.sensitive-data");
const onDrawerDismiss = () => {
state.showCreateDrawer = false;
- state.pendingEditData = MaskingAlgorithmSetting_Algorithm.fromPartial({
- id: uuidv4(),
- });
};
const onEdit = (data: MaskingAlgorithmSetting_Algorithm) => {
diff --git a/frontend/src/components/SensitiveData/components/MaskingAlgorithmsCreateDrawer.vue b/frontend/src/components/SensitiveData/components/MaskingAlgorithmsCreateDrawer.vue
index 2fbbcc2995..738ca7b5ba 100644
--- a/frontend/src/components/SensitiveData/components/MaskingAlgorithmsCreateDrawer.vue
+++ b/frontend/src/components/SensitiveData/components/MaskingAlgorithmsCreateDrawer.vue
@@ -435,10 +435,9 @@ const onUpsert = async () => {
style: "SUCCESS",
title: t("common.updated"),
});
-
- emit("dismiss");
} finally {
state.processing = false;
+ emit("dismiss");
}
};
diff --git a/frontend/src/components/TableDetailDrawer.vue b/frontend/src/components/TableDetailDrawer.vue
index af9a300076..7615aca7b7 100644
--- a/frontend/src/components/TableDetailDrawer.vue
+++ b/frontend/src/components/TableDetailDrawer.vue
@@ -269,15 +269,13 @@ const getTableName = (tableName: string) => {
};
watch(
- () => props.tableName,
- (tableName) => {
+ () => [props.tableName, props.schemaName],
+ ([tableName, schemaName]) => {
if (!tableName) {
return;
}
const schemaList = dbSchemaStore.getSchemaList(database.value.name);
- const schema = schemaList.find(
- (schema) => schema.name === props.schemaName
- );
+ const schema = schemaList.find((schema) => schema.name === schemaName);
if (schema) {
dbSchemaStore
.getOrFetchTableMetadata({