From 0323264bbd503c7bb5dc367b62fb36479f0c8305 Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Tue, 29 Mar 2022 21:43:50 +0200 Subject: [PATCH] fixed crash --- packages/web/src/widgets/SqlObjectList.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web/src/widgets/SqlObjectList.svelte b/packages/web/src/widgets/SqlObjectList.svelte index a4d9c60a..64008ea4 100644 --- a/packages/web/src/widgets/SqlObjectList.svelte +++ b/packages/web/src/widgets/SqlObjectList.svelte @@ -49,7 +49,7 @@ $: apps = useUsedApps(); - $: dbApps = filterAppsForDatabase($currentDatabase.connection, $currentDatabase.name, $apps || []); + $: dbApps = filterAppsForDatabase($currentDatabase?.connection, $currentDatabase?.name, $apps || []); // $: console.log('OBJECTS', $objects);