- Failed to load photos: {photosQuery.error instanceof Error - ? photosQuery.error.message - : "unknown error"} -
- {:else if photos.length === 0} -
- {#if filters.section === "archive"}
- Archive is empty.
- {:else if filters.section === "review"}
- Nothing left to review. Photos PhotoPrism's indexer wasn't sure
- about land here — use Keep to accept them into the timeline or
- Archive to set them aside.
- {:else if filters.section === "hidden"}
- No hidden photos. PhotoPrism auto-hides files it can't index
- (broken files, very low quality); they only ever show up here.
- {:else if filters.section === "heap"}
- This heap has no photos yet. Select some photos and use the bulk
- bar's "+ Add to heap" button.
+ {#snippet preview()}
+
+ Failed to load photos: {photosQuery.error instanceof Error
+ ? photosQuery.error.message
+ : "unknown error"}
+
+ {#if filters.section === "archive"}
+ Archive is empty.
+ {:else if filters.section === "review"}
+ Nothing left to review. Photos PhotoPrism's indexer wasn't
+ sure about land here — use Keep to accept them into the
+ timeline or Archive to set them aside.
+ {:else if filters.section === "hidden"}
+ No hidden photos. PhotoPrism auto-hides files it can't index
+ (broken files, very low quality); they only ever show up here.
+ {:else if filters.section === "heap"}
+ This heap has no photos yet. Select some photos and use the
+ bulk bar's "+ Add to heap" button.
+ {:else}
+ No photos. Index a folder via PhotoPrism's reindex command.
+ {/if}
+
- Loading more…
-
- {row.label}
-
- {row.count}
-
-
- {:else}
- {@const photo = row.photo}
- {@const i = row.tileIndex}
- {@const inWindow = i >= renderFirst && i <= renderLast}
-
-