diff --git a/packages/web/src/widgets/DatabaseWidget.svelte b/packages/web/src/widgets/DatabaseWidget.svelte index cce04923d..057ca0a04 100644 --- a/packages/web/src/widgets/DatabaseWidget.svelte +++ b/packages/web/src/widgets/DatabaseWidget.svelte @@ -1,31 +1,19 @@ @@ -54,66 +42,6 @@ /> {/if} - x && x.conid == conid && x.database == $currentDatabase?.name)} - > - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/packages/web/src/widgets/DatabaseWidgetDetailContent.svelte b/packages/web/src/widgets/DatabaseWidgetDetailContent.svelte new file mode 100644 index 000000000..732ae3b02 --- /dev/null +++ b/packages/web/src/widgets/DatabaseWidgetDetailContent.svelte @@ -0,0 +1,87 @@ + + + x && x.conid == conid && x.database == $currentDatabase?.name)} +> + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/web/src/widgets/PrivateCloudWidget.svelte b/packages/web/src/widgets/PrivateCloudWidget.svelte index 777ec4c00..aaed201c6 100644 --- a/packages/web/src/widgets/PrivateCloudWidget.svelte +++ b/packages/web/src/widgets/PrivateCloudWidget.svelte @@ -19,9 +19,11 @@ import { plusExpandIcon } from '../icons/expandIcons'; import { volatileConnectionMapStore } from '../utility/api'; import SubCloudItemsList from '../appobj/SubCloudItemsList.svelte'; + import DatabaseWidgetDetailContent from './DatabaseWidgetDetailContent.svelte'; let publicFilter = ''; let cloudFilter = ''; + let domSqlObjectList = null; const cloudContentList = useCloudContentList(); const serverStatus = useServerStatus(); @@ -91,7 +93,12 @@ setIsExpanded={(data, value) => { expandedConnections.update(old => (value ? [...old, data.conid] : old.filter(x => x != data.conid))); }} + passProps={{ + onFocusSqlObjectList: () => domSqlObjectList.focus(), + }} /> + +