Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
Use member/memberByPrincipalId instead of principal/principalById for ProjectMemberPanel since we are selecting from the member list
天舟4a0e509a40b3
diff --git a/frontend/src/components/ProjectMemberPanel.vue b/frontend/src/components/ProjectMemberPanel.vueindex 76182e1b69..4ff262a66c 100644--- a/frontend/src/components/ProjectMemberPanel.vue+++ b/frontend/src/components/ProjectMemberPanel.vue@@ -182,7 +182,7 @@ export default {principalId: state.principalId,role: hasAdminFeature.value ? state.role : "OWNER",};- const principal = store.getters["principal/principalById"](+ const member = store.getters["member/memberByPrincipalId"](state.principalId);store@@ -194,7 +194,7 @@ export default {store.dispatch("notification/pushNotification", {module: "bytebase",style: "SUCCESS",- title: `Successfully added ${principal.name} to the project.`,+ title: `Successfully added ${member.principal.name} to the project.`,});});