diff --git a/src/pages/image/_id.vue b/src/pages/image/_id.vue
index 63361cec2e..4d17560638 100644
--- a/src/pages/image/_id.vue
+++ b/src/pages/image/_id.vue
@@ -74,7 +74,11 @@
:image-height="imageHeight"
:image-type="imageType"
/>
-
+
@@ -136,6 +140,7 @@ export default defineComponent({
)
const backToSearchPath = computed(() => route.value.meta?.backToSearchPath)
+ const hasRelatedMedia = computed(() => relatedMediaStore.media.length > 0)
const relatedMedia = computed(() => relatedMediaStore.media)
const relatedFetchState = computed(() => relatedMediaStore.fetchState)
@@ -207,6 +212,7 @@ export default defineComponent({
}
return {
image,
+ hasRelatedMedia,
relatedMedia,
relatedFetchState,
imageWidth,