diff --git a/src/actions.js b/src/actions.js index e9c7dfd..26dfac0 100644 --- a/src/actions.js +++ b/src/actions.js @@ -32,7 +32,7 @@ const TASK_FULL_PROJECTION = () => [ 'isDeleted', 'taskGroup{id, code, completionPolicy, taskexecutorSet {edges{node{id, user{id}}}}}', 'data', - 'currentEntityData', + 'businessData', 'jsonExt', ]; diff --git a/src/components/TaskPreviewCell.js b/src/components/TaskPreviewCell.js index ce968d2..1a4e18e 100644 --- a/src/components/TaskPreviewCell.js +++ b/src/components/TaskPreviewCell.js @@ -2,20 +2,20 @@ import React from 'react'; import { HYPHEN } from '../constants'; function TaskPreviewCell({ - formatterIndex, itemData, incomingData, formatter, jsonExt, + formatterIndex, itemData, incomingData, formatter, }) { const showHistorical = (itemIncomingData) => { - if (formatter(itemData, jsonExt, formatterIndex) === formatter(itemIncomingData, jsonExt, formatterIndex) - || !formatter(itemIncomingData, jsonExt, formatterIndex)) { + if (formatter(itemData, formatterIndex) === formatter(itemIncomingData, formatterIndex) + || !formatter(itemIncomingData, formatterIndex)) { return HYPHEN; } - return formatter(itemIncomingData, jsonExt, formatterIndex); + return formatter(itemIncomingData, formatterIndex); }; return ( <>
- {formatter(itemData, jsonExt, formatterIndex) ?? HYPHEN} + {formatter(itemData, formatterIndex) ?? HYPHEN}
{showHistorical(incomingData)}
diff --git a/src/components/TaskPreviewTable.js b/src/components/TaskPreviewTable.js
index 32dd132..7be22ab 100644
--- a/src/components/TaskPreviewTable.js
+++ b/src/components/TaskPreviewTable.js
@@ -81,9 +81,8 @@ function TaskPreviewTable({