fix: ensure independent service state between page

main
Bastien Wirtz 2025-09-21 15:43:28 +02:00
parent 63647e837a
commit 61d5d0b722
2 changed files with 4 additions and 3 deletions

View File

@ -78,7 +78,7 @@
>
<ServiceGroup
v-for="(group, groupIndex) in services"
:key="groupIndex"
:key="`${currentPage}-${groupIndex}`"
:group="group"
:is-vertical="vlayout && !filter"
:proxy="config.proxy"
@ -187,6 +187,7 @@ export default {
document.title =
this.config.documentTitle ||
[this.config.title, this.config.subtitle].filter(Boolean).join(" | ");
if (this.config.stylesheet) {
let stylesheet = "";
let addtionnal_styles = this.config.stylesheet;

View File

@ -4,7 +4,7 @@
<GroupHeader v-if="group.name" :group="group" class="group-title" />
<Service
v-for="(item, index) in group.items"
:key="index"
:key="`srv-${index}`"
:item="item"
:proxy="proxy"
:class="item.class || group.class"
@ -21,7 +21,7 @@
/>
<Service
v-for="(item, index) in group.items"
:key="`service-${groupIndex}-${index}`"
:key="`srv-${index}`"
:item="item"
:proxy="proxy"
:class="[