single database support

This commit is contained in:
Jan Prochazka
2021-04-24 09:01:30 +02:00
parent ccdce6ef43
commit e104feef14
4 changed files with 96 additions and 85 deletions

View File

@@ -40,7 +40,7 @@
module={connectionAppObject}
subItemsComponent={SubDatabaseList}
expandOnClick
isExpandable={data => $openedConnections.includes(data._id)}
isExpandable={data => $openedConnections.includes(data._id) && !data.singleDatabase}
{filter}
/>
{#if $connections && $connections.length == 0 && $commandsCustomized['new.connection']?.enabled}