From 3b5f96bc29ce6ac77a2ffa4a00fb0588f69fc6ef Mon Sep 17 00:00:00 2001 From: GurkiranSingh Date: Tue, 6 Jun 2023 21:26:25 -0400 Subject: [PATCH] fix: Module Graph view is blocking the Console view Signed-off-by: GurkiranSingh --- packages/ui/client/components/FileDetails.vue | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/packages/ui/client/components/FileDetails.vue b/packages/ui/client/components/FileDetails.vue index f25524e889af..408efc4d2ac7 100644 --- a/packages/ui/client/components/FileDetails.vue +++ b/packages/ui/client/components/FileDetails.vue @@ -9,7 +9,6 @@ import type { ModuleGraphData } from '#types' const data = ref({ externalized: [], graph: {}, inlined: [] }) const graph = ref({ nodes: [], links: [] }) const draft = ref(false) -const hasGraphBeenDisplayed = ref(false) debouncedWatch( current, @@ -29,9 +28,6 @@ function open() { } function changeViewMode(view: Params['view']) { - if (view === 'graph') - hasGraphBeenDisplayed.value = true - viewMode.value = view } const consoleCount = computed(() => { @@ -99,8 +95,8 @@ function onDraft(value: boolean) {
-
- +
+