From 2ec1a03d8ff55d8d5f508f46a792bd5c0c20b4a8 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Tue, 10 May 2022 19:39:39 -0500 Subject: [PATCH] Fixed some typings on Board component also removed FeatureComponent type since it's no longer used --- src/features/boards/Board.vue | 34 +++++++++++++++++++++++++++------- src/features/feature.ts | 10 +--------- 2 files changed, 28 insertions(+), 16 deletions(-) diff --git a/src/features/boards/Board.vue b/src/features/boards/Board.vue index 51d7f8b..a0cb8ae 100644 --- a/src/features/boards/Board.vue +++ b/src/features/boards/Board.vue @@ -25,7 +25,7 @@ - + @@ -38,8 +38,8 @@ :dragged="dragged" :hasDragged="hasDragged" :receivingNode="receivingNode?.id === node.id" - :selectedNode="selectedNode" - :selectedAction="selectedAction" + :selectedNode="unref(selectedNode)" + :selectedAction="unref(selectedAction)" @mouseDown="mouseDown" @endDragging="endDragging" /> @@ -51,15 +51,35 @@ & Partial;