aboutsummaryrefslogtreecommitdiffstats
path: root/workflow-designer-ui/src/main
diff options
context:
space:
mode:
authorStanislav Vishnevetskiy <shlomo-stanisla.vishnevetskiy@amdocs.com>2018-10-14 11:42:41 +0300
committerEinav Keidar <einavw@amdocs.com>2018-10-14 11:07:42 +0000
commit99ed483e80b2ccb49d2bbea2a5d4d9084792bc42 (patch)
treeea62583530f394a6f1ec26afad8c38ccf763f885 /workflow-designer-ui/src/main
parent09bf44f072107e1e0c9dff8cf948b1c589265dd6 (diff)
composition validation error fix
Issue-ID: SDC-1591 Change-Id: I80ff9462aaf5c3c613c9591e64eaef4f79319332 Signed-off-by: Stanislav Vishnevetskiy <shlomo-stanisla.vishnevetskiy@amdocs.com>
Diffstat (limited to 'workflow-designer-ui/src/main')
-rw-r--r--workflow-designer-ui/src/main/frontend/src/features/version/composition/compositionReducer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/workflow-designer-ui/src/main/frontend/src/features/version/composition/compositionReducer.js b/workflow-designer-ui/src/main/frontend/src/features/version/composition/compositionReducer.js
index 9ad0f671..53d9f444 100644
--- a/workflow-designer-ui/src/main/frontend/src/features/version/composition/compositionReducer.js
+++ b/workflow-designer-ui/src/main/frontend/src/features/version/composition/compositionReducer.js
@@ -25,7 +25,7 @@ export default (state = { diagram: false, errors: [] }, action) => {
};
case UPDATE_ERRORS: {
const filteredErrors = state.errors.filter(
- el => el.id !== action.payload.id
+ item => item.element.id !== action.payload.element.id
);
return {
...state,