From 0ac54d3d27af42d079244922459d6ac59ab13d2a Mon Sep 17 00:00:00 2001 From: Joakim Uddholm Date: Tue, 23 Jul 2024 13:51:52 +0200 Subject: [PATCH] fix: dataflows should no longer break when clicked after initially being added --- app/src/components/model/board/Board.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/components/model/board/Board.js b/app/src/components/model/board/Board.js index 0ffa1bc8..68f98137 100644 --- a/app/src/components/model/board/Board.js +++ b/app/src/components/model/board/Board.js @@ -413,6 +413,7 @@ export default function Board() { if ( editDataFlow && !readOnly && + component && component?.type !== COMPONENT_TYPE.TRUST_BOUNDARY ) { onMagnetClick(id)();