Fix action not being marked selected

This commit is contained in:
thepaperpilot 2023-04-22 20:50:24 -05:00
parent 0b517cb48b
commit 1ed499b720
2 changed files with 4 additions and 3 deletions

View file

@ -11,6 +11,7 @@
:is-selected="isSelected"
:node="node"
:node-type="nodeType"
:selected-action="selectedAction"
/>
<g
@ -160,8 +161,8 @@ const _props = defineProps<{
};
hasDragged?: boolean;
receivingNode?: boolean;
selectedNode?: BoardNode | null;
selectedAction?: GenericBoardNodeAction | null;
selectedNode: BoardNode | null;
selectedAction: GenericBoardNodeAction | null;
}>();
const props = toRefs(_props);
const emit = defineEmits<{

View file

@ -48,7 +48,7 @@ const _props = defineProps<{
nodeType: GenericNodeType;
actions?: GenericBoardNodeAction[];
isSelected: boolean;
selectedAction?: GenericBoardNodeAction;
selectedAction: GenericBoardNodeAction | null;
}>();
const props = toRefs(_props);