From 1ed499b720731c6fdfbdb41fb6f2284657a40788 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Sat, 22 Apr 2023 20:50:24 -0500 Subject: [PATCH] Fix action not being marked selected --- src/features/boards/BoardNode.vue | 5 +++-- src/features/boards/BoardNodeAction.vue | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/features/boards/BoardNode.vue b/src/features/boards/BoardNode.vue index 55fe8d0..964e1b3 100644 --- a/src/features/boards/BoardNode.vue +++ b/src/features/boards/BoardNode.vue @@ -11,6 +11,7 @@ :is-selected="isSelected" :node="node" :node-type="nodeType" + :selected-action="selectedAction" /> (); const props = toRefs(_props); const emit = defineEmits<{ diff --git a/src/features/boards/BoardNodeAction.vue b/src/features/boards/BoardNodeAction.vue index c67a802..3bf715f 100644 --- a/src/features/boards/BoardNodeAction.vue +++ b/src/features/boards/BoardNodeAction.vue @@ -48,7 +48,7 @@ const _props = defineProps<{ nodeType: GenericNodeType; actions?: GenericBoardNodeAction[]; isSelected: boolean; - selectedAction?: GenericBoardNodeAction; + selectedAction: GenericBoardNodeAction | null; }>(); const props = toRefs(_props);