fix: reset service cards state on page switch by using unique keys

pull/951/head
3thibaut1304 2025-07-07 19:57:40 +02:00
parent c230392da8
commit 30c83641ad
1 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@
</h2>
<Service
v-for="(item, index) in group.items"
:key="`service-${groupIndex}-${index}`"
:key="`${currentPage}-${group.name}-${item.name}`"
:item="item"
:proxy="config.proxy"
:class="[
@ -120,7 +120,7 @@
</h2>
<Service
v-for="(item, index) in group.items"
:key="index"
:key="`${currentPage}-${group.name}-${item.name}`"
:item="item"
:proxy="config.proxy"
:class="item.class || group.class"