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(dashboard): fallback to dashboard title if APP_TITLE is not set

Timothy Yin5539d5fdfc31
diff --git a/app/layouts/dashboard.vue b/app/layouts/dashboard.vue
index 6845f474..d1a1ff91 100644
--- a/app/layouts/dashboard.vue
+++ b/app/layouts/dashboard.vue
@@ -72,7 +72,7 @@ const closeMobileMenu = () => {
to="/"
class="text-lg font-medium text-nowrap"
>
- {{ config.public.APP_TITLE }}
+ {{ config.public.APP_TITLE || $t('title.dashboard') }}
</NuxtLink>
</div>
<UNavigationMenu
@@ -98,7 +98,7 @@ const closeMobileMenu = () => {
to="/"
class="text-lg font-medium"
>
- {{ config.public.APP_TITLE }}
+ {{ config.public.APP_TITLE || $t('title.dashboard') }}
</NuxtLink>
</div>
<UButton