Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix(frontend): fix GCP IAM credentials not sent when creating new instance in SaaS mode (#19267)
Vincent Huange523e23c6848
diff --git a/frontend/src/components/InstanceForm/DataSourceSection/CredentialSourceForm.vue b/frontend/src/components/InstanceForm/DataSourceSection/CredentialSourceForm.vueindex 82f17bae6a..6ad519362a 100644--- a/frontend/src/components/InstanceForm/DataSourceSection/CredentialSourceForm.vue+++ b/frontend/src/components/InstanceForm/DataSourceSection/CredentialSourceForm.vue@@ -345,11 +345,10 @@ watch(() => props.dataSource.iamExtension?.case === "gcpCredential",],(credentials) => {- if (credentials.some((c) => c === true)) {- credentialSource.value = "specific-credential";- } else {- credentialSource.value = "default";- }+ const newVal = credentials.some((c) => c === true)+ ? "specific-credential"+ : "default";+ credentialSource.value = newVal;},{ immediate: true, deep: true });@@ -422,7 +421,8 @@ watch(}break;}- }+ },+ { immediate: true });</script>