mirror of https://github.com/Lissy93/dashy.git
⚡ Adds page identifier to secion ID
This commit is contained in:
parent
8c43442b39
commit
333ee83890
|
@ -26,6 +26,9 @@ const HomeMixin = {
|
||||||
modalOpen() {
|
modalOpen() {
|
||||||
return this.$store.state.modalOpen;
|
return this.$store.state.modalOpen;
|
||||||
},
|
},
|
||||||
|
pageId() {
|
||||||
|
return this.subPageInfo?.pageId ? this.subPageInfo.pageId : 'home';
|
||||||
|
},
|
||||||
},
|
},
|
||||||
data: () => ({
|
data: () => ({
|
||||||
searchValue: '',
|
searchValue: '',
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
:title="section.name"
|
:title="section.name"
|
||||||
:icon="section.icon || undefined"
|
:icon="section.icon || undefined"
|
||||||
:displayData="getDisplayData(section)"
|
:displayData="getDisplayData(section)"
|
||||||
:groupId="`section-${index}`"
|
:groupId="`${pageId}-section-${index}`"
|
||||||
:items="filterTiles(section.items, searchValue)"
|
:items="filterTiles(section.items, searchValue)"
|
||||||
:widgets="section.widgets"
|
:widgets="section.widgets"
|
||||||
:searchTerm="searchValue"
|
:searchTerm="searchValue"
|
||||||
|
|
Loading…
Reference in New Issue