pinned objects fixes

This commit is contained in:
Jan Prochazka
2023-03-13 19:50:06 +01:00
parent 886e0a059e
commit df4230ea1d
3 changed files with 6 additions and 5 deletions

View File

@@ -417,7 +417,7 @@
onUnpin={isPinned
? () =>
pinnedDatabases.update(list =>
list.filter(x => x.name != data.name || x.connection?._id != data.connection?._id)
list.filter(x => x?.name != data?.name || x?.connection?._id != data?.connection?._id)
)
: null}
/>