diff --git a/packages/web/src/appobj/ConnectionAppObject.svelte b/packages/web/src/appobj/ConnectionAppObject.svelte index 1bf50a713..e54b71afa 100644 --- a/packages/web/src/appobj/ConnectionAppObject.svelte +++ b/packages/web/src/appobj/ConnectionAppObject.svelte @@ -86,6 +86,11 @@ }; const handleClick = () => { + const config = getCurrentConfig(); + if (config.runAsPortal) { + handleConnect(); + return; + } if ($openedSingleDatabaseConnections.includes(data._id)) { currentDatabase.set({ connection: data, name: data.defaultDatabase }); return;