mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
fix(client/search): freeze in presentation collection
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user