From ff44a2eaf3adb64e32c135ca2f4212ef34dc2eea Mon Sep 17 00:00:00 2001 From: Georges-Antoine Assi Date: Thu, 29 Jan 2026 17:03:18 -0500 Subject: [PATCH] [ROMM-2956] Fix refresh on card edit --- frontend/src/components/common/Collection/Card.vue | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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(() => {