diff --git a/CHANGELOG.md b/CHANGELOG.md index 73a756c01f..c421d1a1dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Use to disable feed object editing and filter creation on feed status page [#2398](https://github.com/greenbone/gsa/pull/2398) ### Fixed +- Allow to delete processes without having had edges in BPM [#2507](https://github.com/greenbone/gsa/pull/2507) - Fixed TLS certificate download for users with permissions [#2496](https://github.com/greenbone/gsa/pull/2496) - Fixed form validation error tooltips [#2478](https://github.com/greenbone/gsa/pull/2478) - Only show schedule options in advanced and modify task wizard if user has correct permissions [#2472](https://github.com/greenbone/gsa/pull/2472) diff --git a/gsa/src/web/components/processmap/processmap.js b/gsa/src/web/components/processmap/processmap.js index 503ad7bd96..c616f50c0e 100644 --- a/gsa/src/web/components/processmap/processmap.js +++ b/gsa/src/web/components/processmap/processmap.js @@ -296,7 +296,7 @@ class ProcessMap extends React.Component { handleDeleteElement() { if (isDefined(this.selectedElement)) { const {id} = this.selectedElement; - const {processes, edges} = this.state; + const {processes, edges = {}} = this.state; if (isDefined(id)) { if (this.selectedElement && this.selectedElement.type === 'edge') { delete edges[id];