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:
@@ -9,13 +9,13 @@
|
||||
const connectionColorFactory = useConnectionColorFactory(3);
|
||||
|
||||
$: filteredTables = $pinnedTables.filter(
|
||||
x => x.conid == $currentDatabase?.connection?._id && x.database == $currentDatabase?.name
|
||||
x => x?.conid == $currentDatabase?.connection?._id && x?.database == $currentDatabase?.name
|
||||
);
|
||||
</script>
|
||||
|
||||
<WidgetsInnerContainer>
|
||||
<AppObjectList
|
||||
list={[...$pinnedDatabases, ...filteredTables]}
|
||||
list={[..._.compact($pinnedDatabases), ..._.compact(filteredTables)]}
|
||||
module={pinnedAppObject}
|
||||
passProps={{ connectionColorFactory: $connectionColorFactory }}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user