Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
No longer need mode parameter since we don't use AnomalyTable in the instance detail view
天舟54384278136e
diff --git a/frontend/src/components/AnomalyTable.vue b/frontend/src/components/AnomalyTable.vueindex 752056669e..d443dc8113 100644--- a/frontend/src/components/AnomalyTable.vue+++ b/frontend/src/components/AnomalyTable.vue@@ -156,10 +156,6 @@ export default {name: "AnomalyTable",components: { CodeDiff },props: {- mode: {- required: true,- type: String as PropType<"INSTANCE" | "DATABASE">,- },anomalySectionList: {required: true,type: Object as PropType<BBTableSectionDataSource<Anomaly>[]>,@@ -237,12 +233,6 @@ export default {const action = (anomaly: Anomaly): Action => {switch (anomaly.type) {case "bb.anomaly.instance.connection":- if (props.mode == "INSTANCE") {- return {- onClick: () => {},- title: "",- };- }return {onClick: () => {router.push({@@ -255,12 +245,6 @@ export default {title: "Check instance",};case "bb.anomaly.instance.migration-schema":- if (props.mode == "INSTANCE") {- return {- onClick: () => {},- title: "",- };- }return {onClick: () => {router.push({diff --git a/frontend/src/components/DatabaseOverviewPanel.vue b/frontend/src/components/DatabaseOverviewPanel.vueindex 0978e7bbe5..95aaf227ab 100644--- a/frontend/src/components/DatabaseOverviewPanel.vue+++ b/frontend/src/components/DatabaseOverviewPanel.vue@@ -4,10 +4,7 @@<div class="text-lg leading-6 font-medium text-main mb-4 flex flex-row">Anomalies</div>- <AnomalyTable- :mode="'DATABASE'"- :anomalySectionList="anomalySectionList"- />+ <AnomalyTable :anomalySectionList="anomalySectionList" /></div><divv-elsediff --git a/frontend/src/views/AnomalyCenterDashboard.vue b/frontend/src/views/AnomalyCenterDashboard.vueindex 9b6bfa025f..5633eaebd7 100644--- a/frontend/src/views/AnomalyCenterDashboard.vue+++ b/frontend/src/views/AnomalyCenterDashboard.vue@@ -28,13 +28,11 @@</div><AnomalyTablev-if="state.selectedIndex == DATABASE_TAB"- :mode="'DATABASE'":anomalySectionList="databaseAnomalySectionList":multiple="true"/><AnomalyTablev-if="state.selectedIndex == INSTANCE_TAB"- :mode="'INSTANCE'":anomalySectionList="instanceAnomalySectionList":multiple="true"/>