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: compose environment of instance (#6409)
boojack3f04fa4c164d
diff --git a/frontend/src/store/modules/v1/instance.ts b/frontend/src/store/modules/v1/instance.tsindex 76fea299da..444f9f9735 100644--- a/frontend/src/store/modules/v1/instance.ts+++ b/frontend/src/store/modules/v1/instance.ts@@ -252,8 +252,9 @@ export const useInstanceV1List = (showDeleted: MaybeRef<boolean> = false) => {const composeInstance = async (instance: Instance) => {const composed = instance as ComposedInstance;const environmentEntity =- useEnvironmentV1Store().getEnvironmentByName(instance.environment) ??- unknownEnvironment();+ (await useEnvironmentV1Store().getOrFetchEnvironmentByName(+ instance.environment+ )) ?? unknownEnvironment();composed.environmentEntity = environmentEntity;return composed;};