@@ -199,7 +199,7 @@ function TaskDetail(props) {
},
});
dataSource.push(
- ...Object.entries(JSON.parse(mandateChild[0].Content)).map((item) => {
+ ...Object.entries(JSON.parse(mandateChild[0].Payload)).map((item) => {
const [key, value] = item;
return {
detail: {
@@ -216,7 +216,7 @@ function TaskDetail(props: IPropsType) {
- ...Object.entries(JSON.parse(mandateChild[0].Content)).map(
+ ...Object.entries(JSON.parse(mandateChild[0].Payload)).map(
(item: any) => {
@@ -8,8 +8,9 @@ export interface IMandateChildTypes {
ProjectId: number;
Status: number;
Title: string;
+ Payload: any;
}
export interface IColumn {
- detail: {text: string, key: string};
+ detail: { text: string; key: string };