aboutsummaryrefslogtreecommitdiffstats
path: root/workflow-designer-ui/src/main
diff options
context:
space:
mode:
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,