Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
Add the missing convertion of task.project
天舟28e580e70a8c
diff --git a/frontend/src/store/modules/project.ts b/frontend/src/store/modules/project.tsindex 479b8dbbfc..54c77e6575 100644--- a/frontend/src/store/modules/project.ts+++ b/frontend/src/store/modules/project.ts@@ -110,7 +110,7 @@ const getters = {rootState: any,rootGetters: any) => (instance: ResourceObject, includedList: ResourceObject[]): Project => {- return convert(instance, includedList, rootGetters);+ return convert(instance, includedList || [], rootGetters);},projectListByUser: (state: ProjectState) => (diff --git a/frontend/src/store/modules/task.ts b/frontend/src/store/modules/task.tsindex df245de41c..91ec5ec450 100644--- a/frontend/src/store/modules/task.ts+++ b/frontend/src/store/modules/task.ts@@ -53,6 +53,15 @@ function convert(const stage = rootGetters["stage/convertPartial"](item, includedList);stageList.push(stage);}++ if (+ item.type == "project" &&+ (item.relationships!.task.data as ResourceIdentifier[]).find(+ (item) => item.id == projectId+ )+ ) {+ project = rootGetters["project/convert"](item);+ }}return {