Skip to content

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

fix: column order (#7845)

ecmadaod0e2758a13c3
diff --git a/frontend/src/components/ColumnTable.vue b/frontend/src/components/ColumnTable.vue
index ae62184c9c..835fe27278 100644
--- a/frontend/src/components/ColumnTable.vue
+++ b/frontend/src/components/ColumnTable.vue
@@ -220,7 +220,7 @@ const NORMAL_COLUMN_LIST = computed(() => {
});
}
if (showClassificationColumn.value) {
- columnList.splice(1, 0, {
+ columnList.splice(showSensitiveColumn.value ? 2 : 1, 0, {
title: t("database.classification.self"),
});
}
@@ -255,7 +255,7 @@ const POSTGRES_COLUMN_LIST = computed(() => {
});
}
if (showClassificationColumn.value) {
- columnList.splice(1, 0, {
+ columnList.splice(showSensitiveColumn.value ? 2 : 1, 0, {
title: t("database.classification.self"),
});
}