Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
Change fetchDatabaseListByUser to fetchDatabaseListByPrincipalId
天舟64256ffdd716
diff --git a/frontend/src/components/DatabaseListSidePanel.vue b/frontend/src/components/DatabaseListSidePanel.vueindex 43cecebc3a..2e185de7dc 100644--- a/frontend/src/components/DatabaseListSidePanel.vue+++ b/frontend/src/components/DatabaseListSidePanel.vue@@ -32,7 +32,10 @@ export default {const prepareDatabaseList = () => {store- .dispatch("database/fetchDatabaseListByUser", currentUser.value.id)+ .dispatch(+ "database/fetchDatabaseListByPrincipalId",+ currentUser.value.id+ ).catch((error) => {console.log(error);});diff --git a/frontend/src/store/modules/database.ts b/frontend/src/store/modules/database.tsindex 9257bf890e..7226698124 100644--- a/frontend/src/store/modules/database.ts+++ b/frontend/src/store/modules/database.ts@@ -222,7 +222,7 @@ const actions = {return databaseList;},- async fetchDatabaseListByUser(+ async fetchDatabaseListByPrincipalId({ commit, rootGetters }: any,userId: PrincipalId) {diff --git a/frontend/src/views/DatabaseDashboard.vue b/frontend/src/views/DatabaseDashboard.vueindex 0be686e3ff..cdfe5d15ff 100644--- a/frontend/src/views/DatabaseDashboard.vue+++ b/frontend/src/views/DatabaseDashboard.vue@@ -61,7 +61,10 @@ export default {const prepareDatabaseList = () => {store- .dispatch("database/fetchDatabaseListByUser", currentUser.value.id)+ .dispatch(+ "database/fetchDatabaseListByPrincipalId",+ currentUser.value.id+ ).then((list) => {state.databaseList = list;})