Skip to content

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

Add EDIT type to BBButonConfirm

天舟016095b40b76
diff --git a/frontend/src/bbkit/BBButtonConfirm.vue b/frontend/src/bbkit/BBButtonConfirm.vue
index 821205c100..eb3ac84bdd 100644
--- a/frontend/src/bbkit/BBButtonConfirm.vue
+++ b/frontend/src/bbkit/BBButtonConfirm.vue
@@ -39,6 +39,13 @@
stroke-width="2"
d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"
></path>
+ <path
+ v-if="style == 'EDIT'"
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ stroke-width="2"
+ d="M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z"
+ ></path>
</svg>
<span v-if="buttonText" class="ml-1">{{ buttonText }}</span>
</button>
diff --git a/frontend/src/bbkit/types.ts b/frontend/src/bbkit/types.ts
index 9ee7a93fc7..4a49c1fed4 100644
--- a/frontend/src/bbkit/types.ts
+++ b/frontend/src/bbkit/types.ts
@@ -1,4 +1,4 @@
-export type BBButtonConfirmStyle = "DELETE" | "ARCHIVE" | "RESTORE";
+export type BBButtonConfirmStyle = "DELETE" | "ARCHIVE" | "RESTORE" | "EDIT";
export type BBTableColumn = {
title: string;