mirror of
https://github.com/zadam/trilium.git
synced 2026-02-26 16:43:36 +01:00
ui/list & grid view: fix some issues
This commit is contained in:
parent
fec929dfee
commit
19d2f02694
@ -176,7 +176,7 @@ function GridNoteCard(props: GridNoteCardProps) {
|
||||
showNotePath={props.parentNote.type === "search"}
|
||||
highlightedTokens={props.highlightedTokens}
|
||||
/>
|
||||
{(!props.note.isOptions()) && <NoteMenuButton notePath={notePath} />}
|
||||
{!props.note.isOptions() && <NoteMenuButton notePath={notePath} />}
|
||||
|
||||
</h5>
|
||||
<NoteContent note={props.note}
|
||||
|
||||
@ -107,7 +107,7 @@ export default class NoteWrapperWidget extends FlexContainer<BasicWidget> {
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user