From 3df19b61e8ae06940822a01801a4aa6e7716ac9a Mon Sep 17 00:00:00 2001 From: aidahosa1 Date: Thu, 19 Sep 2024 01:04:08 -0400 Subject: fixed filtering bug in card view --- src/client/views/collections/CollectionCardDeckView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); } /** -- cgit v1.2.3-70-g09d2