mirror of https://github.com/bastienwirtz/homer
fix: ensure independent service state between page
parent
63647e837a
commit
61d5d0b722
|
@ -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;
|
||||
|
|
|
@ -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="[
|
||||
|
|
Loading…
Reference in New Issue