From 1a6a3f0cf25927d423923bfa3ab805d1b7cc76de Mon Sep 17 00:00:00 2001 From: Leo Vasanko Date: Sun, 31 May 2026 01:51:15 +0000 Subject: [PATCH] Don't show collection where the current movie is the only item we have --- frontend/src/components/MediaDetail.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/MediaDetail.vue b/frontend/src/components/MediaDetail.vue index 7a46c09..a60ae39 100644 --- a/frontend/src/components/MediaDetail.vue +++ b/frontend/src/components/MediaDetail.vue @@ -181,7 +181,7 @@
@@ -658,7 +658,7 @@ const collectionNavRow = computed(() => 3 + movieVersions.value.length) const castNavRow = computed(() => { const hasDesktopSimilarShortcut = - viewportWidth.value > DESKTOP_NAV_SHORTCUT_MIN_WIDTH && collectionMovies.value.length > 0 + viewportWidth.value > DESKTOP_NAV_SHORTCUT_MIN_WIDTH && collectionMovies.value.length > 1 // Desktop with similar row: keep visual cast placement but move it below similar in nav rows. // Narrow layout (or no similar): preserve existing cast row directly after releases. return hasDesktopSimilarShortcut ? 4 + movieVersions.value.length : 2 + movieVersions.value.length