diff --git a/frontend/src/components/common/Collection/Card.vue b/frontend/src/components/common/Collection/Card.vue index dda9b5ad9..62c74e39e 100644 --- a/frontend/src/components/common/Collection/Card.vue +++ b/frontend/src/components/common/Collection/Card.vue @@ -137,7 +137,7 @@ const tiltCardRef = useTemplateRef("tilt-card-ref"); // Determine the correct route for this collection type const collectionRoute = computed(() => { - if (!props.withLink || !props.collection) return {}; + if (!props.withLink || !props.collection) return null; // Check if it's a smart collection (has filter_criteria property) if ("filter_criteria" in props.collection) { @@ -184,9 +184,13 @@ onBeforeUnmount(() => {