From 5de83f02a0b11b9686ab7394c800f102507f0b8d Mon Sep 17 00:00:00 2001 From: Dennis Scheiba Date: Tue, 3 Oct 2023 22:48:58 +0200 Subject: [PATCH] fix nodes type for MenuTabEdit --- caster-editor/src/components/Menu.vue | 5 ++--- caster-editor/src/components/MenuTabEdit.vue | 6 ++++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/caster-editor/src/components/Menu.vue b/caster-editor/src/components/Menu.vue index c48ac93e..b3e7b430 100644 --- a/caster-editor/src/components/Menu.vue +++ b/caster-editor/src/components/Menu.vue @@ -57,10 +57,9 @@ import MenuTab from "./MenuTabHeader.vue"; import MenuTabEdit from "./MenuTabEdit.vue"; import MenuTabPlay from "./MenuTabPlay.vue"; import DialogExitGraph from "./DialogExitGraph.vue"; +import type { GraphEdit } from "./MenuTabEdit.vue"; -export type GraphMenu = Pick & { - nodes: Array; -}; +export type GraphMenu = Pick & GraphEdit; // Props defineProps<{ diff --git a/caster-editor/src/components/MenuTabEdit.vue b/caster-editor/src/components/MenuTabEdit.vue index 470d6cf7..80186cc5 100644 --- a/caster-editor/src/components/MenuTabEdit.vue +++ b/caster-editor/src/components/MenuTabEdit.vue @@ -21,7 +21,7 @@