From 693c34f585513ce59ac7157c4b97478b1e6c6fe1 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 a2300b1..7adc9ca 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);