From 05a5582143c1657aba3f8b7138831b702127a37a Mon Sep 17 00:00:00 2001 From: Gal Shubeli Date: Wed, 3 Sep 2025 16:54:15 +0300 Subject: [PATCH] fix-graph-bug --- app/ts/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/ts/app.ts b/app/ts/app.ts index e9faf856..8439bd96 100644 --- a/app/ts/app.ts +++ b/app/ts/app.ts @@ -26,7 +26,7 @@ import { initLeftToolbar } from "./modules/left_toolbar"; import { setupTextareaAutoResize } from "./modules/input"; async function loadAndShowGraph(selected: string | undefined) { - if (!selected) return; + if (!selected || selected === "Select Database") return; try { const resp = await fetch(`/graphs/${encodeURIComponent(selected)}/data`); if (!resp.ok) {