Skip to content

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

multiple -> compactSection to make it more readable

天舟fd474ffbc95c
diff --git a/frontend/src/components/AnomalyTable.vue b/frontend/src/components/AnomalyTable.vue
index d443dc8113..d56bdfb0a5 100644
--- a/frontend/src/components/AnomalyTable.vue
+++ b/frontend/src/components/AnomalyTable.vue
@@ -2,7 +2,7 @@
<BBTable
:columnList="COLUMN_LIST"
:sectionDataSource="anomalySectionList"
- :compactSection="!multiple"
+ :compactSection="compactSection"
:showHeader="true"
:leftBordered="true"
:rightBordered="true"
@@ -160,8 +160,8 @@ export default {
required: true,
type: Object as PropType<BBTableSectionDataSource<Anomaly>[]>,
},
- multiple: {
- default: false,
+ compactSection: {
+ default: true,
type: Boolean,
},
},
diff --git a/frontend/src/views/AnomalyCenterDashboard.vue b/frontend/src/views/AnomalyCenterDashboard.vue
index 5633eaebd7..cf986cf6d0 100644
--- a/frontend/src/views/AnomalyCenterDashboard.vue
+++ b/frontend/src/views/AnomalyCenterDashboard.vue
@@ -29,12 +29,12 @@
<AnomalyTable
v-if="state.selectedIndex == DATABASE_TAB"
:anomalySectionList="databaseAnomalySectionList"
- :multiple="true"
+ :compactSection="false"
/>
<AnomalyTable
v-if="state.selectedIndex == INSTANCE_TAB"
:anomalySectionList="instanceAnomalySectionList"
- :multiple="true"
+ :compactSection="false"
/>
</div>
</template>