From 4914c815c0e6c6609487e0434b36687986f884fc Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Mon, 22 Nov 2021 19:16:38 +0100 Subject: [PATCH] fix --- packages/web/src/widgets/TabsPanel.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web/src/widgets/TabsPanel.svelte b/packages/web/src/widgets/TabsPanel.svelte index 2fd3732a..8f6f86e8 100644 --- a/packages/web/src/widgets/TabsPanel.svelte +++ b/packages/web/src/widgets/TabsPanel.svelte @@ -214,7 +214,7 @@ function getDatabaseContextMenu(tabs) { const { tabid, props } = tabs[0]; - const { conid, database } = props; + const { conid, database } = props || {}; return [ conid &&