mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 00:16:00 +00:00
pinned objects fixes
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
import SqlObjectList from './SqlObjectList.svelte';
|
||||
import DbKeysTree from './DbKeysTree.svelte';
|
||||
import SingleConnectionDatabaseList from './SingleConnectionDatabaseList.svelte';
|
||||
import _ from 'lodash';
|
||||
|
||||
export let hidden = false;
|
||||
|
||||
@@ -39,8 +40,8 @@
|
||||
name="pinned"
|
||||
height="15%"
|
||||
storageName="pinnedItemsWidget"
|
||||
skip={!$pinnedDatabases?.length &&
|
||||
!$pinnedTables.some(x => x.conid == conid && x.database == $currentDatabase?.name)}
|
||||
skip={!_.compact($pinnedDatabases).length &&
|
||||
!$pinnedTables.some(x => x && x.conid == conid && x.database == $currentDatabase?.name)}
|
||||
>
|
||||
<PinnedObjectsList />
|
||||
</WidgetColumnBarItem>
|
||||
|
||||
Reference in New Issue
Block a user