mirror of
https://github.com/zadam/trilium.git
synced 2025-12-14 19:34:24 +01:00
fix(client/search): freeze in presentation collection
This commit is contained in:
parent
f36535d061
commit
6d09c7116f
@ -26,7 +26,7 @@ export async function buildPresentationModel(note: FNote): Promise<PresentationM
|
||||
const slideNotes = await note.getChildNotes();
|
||||
const slides: PresentationSlideModel[] = await Promise.all(slideNotes.map(async slideNote => ({
|
||||
...(await buildSlideModel(slideNote)),
|
||||
verticalSlides: await buildVerticalSlides(slideNote)
|
||||
verticalSlides: note.type !== "search" ? await buildVerticalSlides(slideNote) : undefined
|
||||
})));
|
||||
|
||||
postProcessSlides(slides);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user