Skip to content

Commit

Permalink
fix: dont display pinned items in folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-Torrent committed Nov 18, 2021
1 parent a569c7a commit 7f56c9e
Show file tree
Hide file tree
Showing 2 changed files with 928 additions and 833 deletions.
2 changes: 1 addition & 1 deletion src/components/common/Item.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const Item = ({ id, isChildren, showPinnedOnly }) => {
{children
.filter(
(i) =>
(showPinnedOnly && i.settings?.isPinned) || !showPinnedOnly,
(showPinnedOnly === i.settings?.isPinned),
)
.map((thisItem) => (
<Container key={thisItem.id} className={classes.container}>
Expand Down
Loading

0 comments on commit 7f56c9e

Please sign in to comment.