Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
Allow client to pass arbitrary data to BBAlert, which in turns will be passed through to ok/cancel handler
Tianzhou Chen81b3582a4ce8
diff --git a/frontend/src/bbkit/BBAlert.vue b/frontend/src/bbkit/BBAlert.vueindex 8de47e4860..f12beef109 100644--- a/frontend/src/bbkit/BBAlert.vue+++ b/frontend/src/bbkit/BBAlert.vue@@ -142,7 +142,7 @@type="button"class="px-4 py-2 sm:col-start-2"v-bind:class="okButtonStyle"- @click.prevent="$emit('ok')"+ @click.prevent="$emit('ok', payload)">{{ okText }}</button>@@ -190,10 +190,14 @@ export default {type: Boolean,default: true,},+ // Any payload pass through to "ok" and "cancel" events+ payload: {+ type: Object,+ },},setup(props, { emit }) {const cancel = () => {- emit("cancel");+ emit("cancel", props.payload);};const clickBackground = () => {