Skip to content

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

Show the button text element if it exists.

天舟f61ec7e271b4
diff --git a/frontend/src/bbkit/BBButtonTrash.vue b/frontend/src/bbkit/BBButtonTrash.vue
index 45742d92e2..428db0fe4d 100644
--- a/frontend/src/bbkit/BBButtonTrash.vue
+++ b/frontend/src/bbkit/BBButtonTrash.vue
@@ -25,7 +25,7 @@
d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"
></path>
</svg>
- <span class="ml-1">{{ buttonText }}</span>
+ <span v-if="buttonText" class="ml-1">{{ buttonText }}</span>
</button>
<BBAlert
v-if="state.showDeleteModal"