From 1ed6773a07697ea3c5dde0e17aa9f949672d1a95 Mon Sep 17 00:00:00 2001 From: German Date: Fri, 24 May 2024 12:46:46 +0300 Subject: [PATCH] blech --- src/webview/App.vue | 18 +++++++++--------- src/webview/components/ConnectionPopup.vue | 14 +++++++------- src/webview/components/DropzoneBackground.vue | 8 ++++---- src/webview/store.ts | 4 +--- 4 files changed, 21 insertions(+), 23 deletions(-) diff --git a/src/webview/App.vue b/src/webview/App.vue index fa0446e..784f875 100644 --- a/src/webview/App.vue +++ b/src/webview/App.vue @@ -3,11 +3,19 @@
- +
+ + - - diff --git a/src/webview/components/ConnectionPopup.vue b/src/webview/components/ConnectionPopup.vue index 5216500..ae0671e 100644 --- a/src/webview/components/ConnectionPopup.vue +++ b/src/webview/components/ConnectionPopup.vue @@ -34,16 +34,16 @@ - + + diff --git a/src/webview/store.ts b/src/webview/store.ts index ae07d49..2d662ac 100644 --- a/src/webview/store.ts +++ b/src/webview/store.ts @@ -3,9 +3,7 @@ import { defineStore } from "pinia"; import { computed, ref } from "vue"; export const useNodeStore = defineStore("nodes", () => { - const nodes = ref([ - //{ id: "1", type: "project", connectable: true, position: { x: 10, y: 5 } }, - ]); + const nodes = ref([]); const hasProjectNode = computed(() => nodes.value.findIndex((x) => x.type === "project") !== -1);