From 2e1c7b3d27dbe60ca9ded2579527a7dc076d25e9 Mon Sep 17 00:00:00 2001 From: Zach Damit Date: Sun, 23 Nov 2025 08:34:31 -0600 Subject: [PATCH] fix: ensure smart cards re-mount correctly between pages (stable keys in ServiceGroup) (#1005) * fix: prevent smart card reuse between pages by adding stable keys in ServiceGroup Previously ServiceGroup keyed components only by index, causing Vue to reuse the wrong smart-card instance when navigating between pages. Keys now include groupIndex and item identity to ensure components re-mount correctly. * Fix duplicate Service cards by ensuring unique Vue keys The search feature was causing some Service cards to duplicate when multiple items in a group shared the same `name` value. Vue reused DOM nodes because the generated `key` for was not always unique: This caused instability during filtering and resulted in one of the cards being duplicated repeatedly until a full page reload. --- src/components/ServiceGroup.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ServiceGroup.vue b/src/components/ServiceGroup.vue index 84e8532..ee36fb5 100644 --- a/src/components/ServiceGroup.vue +++ b/src/components/ServiceGroup.vue @@ -4,7 +4,7 @@