diff --git a/routes/_actions/timeline.js b/routes/_actions/timeline.js index bd69db4..4c667a2 100644 --- a/routes/_actions/timeline.js +++ b/routes/_actions/timeline.js @@ -63,7 +63,7 @@ export function initializeTimeline() { export async function setupTimeline() { mark('setupTimeline') - if (!store.get('timelineItemIds').length) { + if (!store.get('timelineItemIds')) { await fetchTimelineItemsAndPossiblyFallBack() } stop('setupTimeline') diff --git a/routes/_components/pseudoVirtualList/PseudoVirtualList.html b/routes/_components/pseudoVirtualList/PseudoVirtualList.html index 79505ec..4ac1ecf 100644 --- a/routes/_components/pseudoVirtualList/PseudoVirtualList.html +++ b/routes/_components/pseudoVirtualList/PseudoVirtualList.html @@ -1,17 +1,19 @@
- {{#each wrappedItems as wrappedItem, i @item}} - - {{/each}} + {{#if wrappedItems}} + {{#each wrappedItems as wrappedItem, i @item}} + + {{/each}} + {{/if}}