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);