diff options
author | aidahosa1 <aisosa_idahosa@brown.edu> | 2024-09-19 01:04:08 -0400 |
---|---|---|
committer | aidahosa1 <aisosa_idahosa@brown.edu> | 2024-09-19 01:04:08 -0400 |
commit | 3df19b61e8ae06940822a01801a4aa6e7716ac9a (patch) | |
tree | b33192ad134430df3520f3cdb4b78eaab48e5fa0 | |
parent | 62553588078728ac462cda27b9ddd45f5a6412aa (diff) |
fixed filtering bug in card view
-rw-r--r-- | src/client/views/collections/CollectionCardDeckView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionCardDeckView.tsx b/src/client/views/collections/CollectionCardDeckView.tsx index 3dfb280f4..8fea3dbd6 100644 --- a/src/client/views/collections/CollectionCardDeckView.tsx +++ b/src/client/views/collections/CollectionCardDeckView.tsx @@ -129,7 +129,7 @@ export class CollectionCardView extends CollectionSubView() { * custom group */ @computed get childDocsWithoutLinks() { - return (this.childDocList as Doc[]).filter(l => l.type !== DocumentType.LINK); + return this.childDocs.filter(l => l.type !== DocumentType.LINK); } /** |