You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ma...@apache.org on 2023/10/14 19:43:10 UTC
[camel-karavan] branch main updated: Fix selected style for selected element in Designer
This is an automated email from the ASF dual-hosted git repository.
marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git
The following commit(s) were added to refs/heads/main by this push:
new 9347c357 Fix selected style for selected element in Designer
9347c357 is described below
commit 9347c357df3697b823a09491bd27828beeb528fd
Author: Marat Gubaidullin <ma...@talismancloud.io>
AuthorDate: Sat Oct 14 15:43:01 2023 -0400
Fix selected style for selected element in Designer
---
karavan-designer/src/designer/route/DslElement.tsx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/karavan-designer/src/designer/route/DslElement.tsx b/karavan-designer/src/designer/route/DslElement.tsx
index 0d246b20..305b7859 100644
--- a/karavan-designer/src/designer/route/DslElement.tsx
+++ b/karavan-designer/src/designer/route/DslElement.tsx
@@ -46,9 +46,9 @@ export function DslElement(props: Props) {
const [integration] = useIntegrationStore((s) => [s.integration, s.setIntegration], shallow)
- const [selectedUuids, setShowMoveConfirmation, hideLogDSL, setMoveElements] =
+ const [selectedUuids, selectedStep, showMoveConfirmation, setShowMoveConfirmation, hideLogDSL, setMoveElements] =
useDesignerStore((s) =>
- [s.selectedUuids, s.setShowMoveConfirmation, s.hideLogDSL, s.setMoveElements], shallow)
+ [s.selectedUuids, s.selectedStep, s.showMoveConfirmation, s.setShowMoveConfirmation, s.hideLogDSL, s.setMoveElements], shallow)
const [isDragging, setIsDragging] = useState<boolean>(false);
const [isDraggedOver, setIsDraggedOver] = useState<boolean>(false);