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() {
|
||||
return this.$store.state.modalOpen;
|
||||
},
|
||||
pageId() {
|
||||
return this.subPageInfo?.pageId ? this.subPageInfo.pageId : 'home';
|
||||
},
|
||||
},
|
||||
data: () => ({
|
||||
searchValue: '',
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
:title="section.name"
|
||||
:icon="section.icon || undefined"
|
||||
:displayData="getDisplayData(section)"
|
||||
:groupId="`section-${index}`"
|
||||
:groupId="`${pageId}-section-${index}`"
|
||||
:items="filterTiles(section.items, searchValue)"
|
||||
:widgets="section.widgets"
|
||||
:searchTerm="searchValue"
|
||||
|
|
Loading…
Reference in New Issue