Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
Show no anomaly when there is none on database overview panel
天舟7e0939d4abc9
diff --git a/frontend/src/components/DatabaseOverviewPanel.vue b/frontend/src/components/DatabaseOverviewPanel.vueindex 95aaf227ab..70c35d09e0 100644--- a/frontend/src/components/DatabaseOverviewPanel.vue+++ b/frontend/src/components/DatabaseOverviewPanel.vue@@ -241,10 +241,12 @@ export default {const anomalySectionList = computed((): BBTableSectionDataSource<Anomaly>[] => {const list: BBTableSectionDataSource<Anomaly>[] = [];- list.push({- title: props.database.name,- list: props.database.anomalyList,- });+ if (props.database.anomalyList.length > 0) {+ list.push({+ title: props.database.name,+ list: props.database.anomalyList,+ });+ }return list;});