Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Comment the relative order between fetching principalList and rolemappingList

Tianzhou Chen51adcba1c38d
diff --git a/frontend/src/components/ProvideContext.vue b/frontend/src/components/ProvideContext.vue
index f2c5985c6a..f08fe42c24 100644
--- a/frontend/src/components/ProvideContext.vue
+++ b/frontend/src/components/ProvideContext.vue
@@ -17,12 +17,14 @@ export default {
);
await store.dispatch("principal/fetchPrincipalList");
+ // This depends on principal/fetchPrincipalList
+ await store.dispatch("roleMapping/fetchRoleMappingList");
+
await store.dispatch("environment/fetchEnvironmentList");
await store.dispatch(
"bookmark/fetchBookmarkListByUser",
currentUser.value.id
);
- await store.dispatch("roleMapping/fetchRoleMappingList");
await store.dispatch("uistate/restoreExpandState");
},
};