diff options
author | alyssaf16 <alyssa_feinberg@brown.edu> | 2024-06-18 15:23:12 -0400 |
---|---|---|
committer | alyssaf16 <alyssa_feinberg@brown.edu> | 2024-06-18 15:23:12 -0400 |
commit | ad32c1606395cdc71ba50eb9b51d3a9d3b707ca0 (patch) | |
tree | af52ac84663501a1213f26e3ccc8768ee4bc2683 /src/client/views/collections/CollectionCarouselView.tsx | |
parent | 91e465c9ba542b637e66c7091c444a44fdbe4f0c (diff) |
working on various image flashcard ideas
Diffstat (limited to 'src/client/views/collections/CollectionCarouselView.tsx')
-rw-r--r-- | src/client/views/collections/CollectionCarouselView.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/collections/CollectionCarouselView.tsx b/src/client/views/collections/CollectionCarouselView.tsx index f2d634eaa..6976deea5 100644 --- a/src/client/views/collections/CollectionCarouselView.tsx +++ b/src/client/views/collections/CollectionCarouselView.tsx @@ -46,14 +46,14 @@ export class CollectionCarouselView extends CollectionSubView() { @observable private _filterMessage: string | undefined; get practiceField() { return this.fieldKey + "_practice"; } // prettier-ignore get sideField() { return "_" + this.fieldKey + "_usePath"; } // prettier-ignore - get starField() { return this.fieldKey + "_star"; } // prettier-ignore + get starField() { return "star"; } // prettier-ignore constructor(props: any) { super(props); makeObservable(this); // this.setModes(); this.layoutDoc.filterOp = cardMode.ALL; - Doc.setDocFilter(this.Document, 'data_star', undefined, 'match'); + Doc.setDocFilter(this.Document, 'star', undefined, 'match'); this.layoutDoc.practiceMode = practiceMode.NORMAL; this.layoutDoc._carousel_index = 0; } |