Skip to content

Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.

fix(gallery): hide photo wall loader on album home

Timothy Yin36f23c518b1f
diff --git a/packages/gallery/app/layouts/masonry.vue b/packages/gallery/app/layouts/masonry.vue
index d65346ff..1acfd506 100644
--- a/packages/gallery/app/layouts/masonry.vue
+++ b/packages/gallery/app/layouts/masonry.vue
@@ -29,9 +29,8 @@ watch(
<template>
<div class="relative h-screen">
<div class="h-svh px-1">
- <ClientOnly>
+ <ClientOnly v-if="route.path !== '/' || homeView !== 'albums'">
<MasonryRoot
- v-if="route.path !== '/' || homeView !== 'albums'"
:photos="photos"
columns="auto"
/>