Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: white color warning (#14502)
ecmadaodb56cfab7b90
diff --git a/frontend/src/components/EnvironmentForm/Form.vue b/frontend/src/components/EnvironmentForm/Form.vueindex f98d10a66c..22a6d581ea 100644--- a/frontend/src/components/EnvironmentForm/Form.vue+++ b/frontend/src/components/EnvironmentForm/Form.vue@@ -225,11 +225,7 @@ const renderColorPicker = () => {}}></div>)}- onUpdateValue={(color: string) => {- if (!hasEnvironmentPolicyFeature.value) {- missingFeature.value = "bb.feature.environment-tier-policy";- return;- }+ onComplete={(color: string) => {if (color.toUpperCase() === "#FFFFFF") {pushNotification({module: "bytebase",@@ -237,6 +233,13 @@ const renderColorPicker = () => {title: t("common.warning"),description: "Invalid color",});+ state.value.environment.color = "#4f46e5";+ return;+ }+ }}+ onUpdateValue={(color: string) => {+ if (!hasEnvironmentPolicyFeature.value) {+ missingFeature.value = "bb.feature.environment-tier-policy";return;}state.value.environment.color = color;