Skip to content

A self-hosted media server and file management system

fix: return to folder home page should point to /details and not just the first video in the folder

aminnausinf6c1d3a15152
diff --git a/resources/js/components/panels/NavBar.vue b/resources/js/components/panels/NavBar.vue
index a2ec5a80..f01da7de 100755
--- a/resources/js/components/panels/NavBar.vue
+++ b/resources/js/components/panels/NavBar.vue
@@ -122,7 +122,7 @@ watch(isDesktop, (now) => {
<h1 id="folder-title" class="truncate rounded-md px-0.5 text-2xl capitalize ring-inset focus-within:ring-2">
<RouterLink
v-if="$route.name === 'home'"
- :to="$route.path"
+ :to="`${$route.path}/details`"
title="Return to folder home page"
class="hover:text-primary dark:hover:text-primary-muted focus:outline-none"
>