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: wrong props for table schema viewer (#15812)
ecmadaod95f69fff503
diff --git a/frontend/src/components/TableDetailDrawer.vue b/frontend/src/components/TableDetailDrawer.vueindex 4d2e3df545..97e129ae6a 100644--- a/frontend/src/components/TableDetailDrawer.vue+++ b/frontend/src/components/TableDetailDrawer.vue@@ -94,7 +94,8 @@class="!w-[32rem] !h-[20rem]":database="database":schema="schemaName"- :table="tableName"+ :object="tableName"+ :type="GetSchemaStringRequest_ObjectType.TABLE"/></NPopover></dl>@@ -334,6 +335,7 @@ import {ObjectSchema_Type,ObjectSchema_StructKind,} from "@/types/proto/v1/database_catalog_service";+import { GetSchemaStringRequest_ObjectType } from "@/types/proto/v1/database_service";import type { DataClassificationSetting_DataClassificationConfig } from "@/types/proto/v1/setting_service";import {bytesToString,diff --git a/frontend/src/components/TableSchemaViewer.vue b/frontend/src/components/TableSchemaViewer.vueindex e008eef759..79172cca20 100644--- a/frontend/src/components/TableSchemaViewer.vue+++ b/frontend/src/components/TableSchemaViewer.vue@@ -40,13 +40,9 @@ import { nextTick } from "vue";import { useI18n } from "vue-i18n";import { MonacoEditor } from "@/components/MonacoEditor";import { databaseServiceClient } from "@/grpcweb";-import {- pushNotification,-} from "@/store";+import { pushNotification } from "@/store";import type { ComposedDatabase } from "@/types";-import {- GetSchemaStringRequest_ObjectType,-} from "@/types/proto/v1/database_service";+import type { GetSchemaStringRequest_ObjectType } from "@/types/proto/v1/database_service";import { hasSchemaProperty } from "@/utils";const props = defineProps<{@@ -88,7 +84,7 @@ onMounted(async () => {type: props.type,schema: props.schema,object: props.object,- })+ });schemaString.value = response.schemaString.trim();});});