Skip to content

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

Add comment column to BackupTable

天舟d1ec33a9dfc5
diff --git a/frontend/src/components/BackupTable.vue b/frontend/src/components/BackupTable.vue
index aa61d51939..f1c03bad3a 100644
--- a/frontend/src/components/BackupTable.vue
+++ b/frontend/src/components/BackupTable.vue
@@ -60,6 +60,16 @@
<BBTableCell class="w-48">
{{ backup.path }}
</BBTableCell>
+ <BBTableCell class="w-8 whitespace-nowrap tooltip-wrapper">
+ <span v-if="backup.comment.length > 30" class="tooltip">{{
+ backup.comment
+ }}</span>
+ {{
+ backup.comment.length > 30
+ ? backup.comment.substring(0, 30) + "..."
+ : backup.comment
+ }}
+ </BBTableCell>
<BBTableCell class="w-16">
{{ humanizeTs(backup.createdTs) }}
</BBTableCell>
@@ -98,6 +108,9 @@ const columnList: BBTableColumn[] = [
{
title: "Path",
},
+ {
+ title: "Comment",
+ },
{
title: "Time",
},