mirror of https://github.com/bastienwirtz/homer
fix: reset service cards state on page switch by using unique keys
parent
c230392da8
commit
30c83641ad
|
@ -87,7 +87,7 @@
|
||||||
</h2>
|
</h2>
|
||||||
<Service
|
<Service
|
||||||
v-for="(item, index) in group.items"
|
v-for="(item, index) in group.items"
|
||||||
:key="`service-${groupIndex}-${index}`"
|
:key="`${currentPage}-${group.name}-${item.name}`"
|
||||||
:item="item"
|
:item="item"
|
||||||
:proxy="config.proxy"
|
:proxy="config.proxy"
|
||||||
:class="[
|
:class="[
|
||||||
|
@ -120,7 +120,7 @@
|
||||||
</h2>
|
</h2>
|
||||||
<Service
|
<Service
|
||||||
v-for="(item, index) in group.items"
|
v-for="(item, index) in group.items"
|
||||||
:key="index"
|
:key="`${currentPage}-${group.name}-${item.name}`"
|
||||||
:item="item"
|
:item="item"
|
||||||
:proxy="config.proxy"
|
:proxy="config.proxy"
|
||||||
:class="item.class || group.class"
|
:class="item.class || group.class"
|
||||||
|
|
Loading…
Reference in New Issue