From 19d2f02694f69e2368f0460247c23ec26b13c361 Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Mon, 23 Feb 2026 12:29:28 +0200 Subject: [PATCH] ui/list & grid view: fix some issues --- apps/client/src/widgets/collections/legacy/ListOrGridView.tsx | 2 +- apps/client/src/widgets/note_wrapper.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/client/src/widgets/collections/legacy/ListOrGridView.tsx b/apps/client/src/widgets/collections/legacy/ListOrGridView.tsx index c6f869c844..ce93e507a6 100644 --- a/apps/client/src/widgets/collections/legacy/ListOrGridView.tsx +++ b/apps/client/src/widgets/collections/legacy/ListOrGridView.tsx @@ -176,7 +176,7 @@ function GridNoteCard(props: GridNoteCardProps) { showNotePath={props.parentNote.type === "search"} highlightedTokens={props.highlightedTokens} /> - {(!props.note.isOptions()) && } + {!props.note.isOptions() && } { return true; } - if (note.type === "book" && COLLECTIONS_WITH_BACKGROUND_EFFECTS.includes(note.getLabelValue("viewType") ?? "")) { + if (note.type === "book" && COLLECTIONS_WITH_BACKGROUND_EFFECTS.includes(note.getLabelValue("viewType") ?? "none")) { return true; }