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: engine in instance filter (#17359)
boojackfe7c5a3e6fc6
diff --git a/frontend/src/views/InstanceDashboard.vue b/frontend/src/views/InstanceDashboard.vueindex 3c78d69c53..3989e93d8b 100644--- a/frontend/src/views/InstanceDashboard.vue+++ b/frontend/src/views/InstanceDashboard.vue@@ -157,10 +157,11 @@ const selectedEngines = computed(() => {.filter((scope) => scope.id === "engine").map((scope) => {// Convert string scope value to Engine enum- const engineValue = Object.values(Engine).find(- (engine) => engine === scope.value- ) as Engine | undefined;- return engineValue ?? Engine.MYSQL; // Default fallback+ const engineKey = scope.value.toUpperCase();+ const engineValue = Engine[engineKey as keyof typeof Engine];+ return typeof engineValue === "number"+ ? engineValue+ : Engine.ENGINE_UNSPECIFIED;});});