Skip to content

Commit 333ee83

Browse files
committed
⚡ Adds page identifier to secion ID
1 parent 8c43442 commit 333ee83

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/mixins/HomeMixin.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ const HomeMixin = {
2626
modalOpen() {
2727
return this.$store.state.modalOpen;
2828
},
29+
pageId() {
30+
return this.subPageInfo?.pageId ? this.subPageInfo.pageId : 'home';
31+
},
2932
},
3033
data: () => ({
3134
searchValue: '',

src/views/Home.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
:title="section.name"
3535
:icon="section.icon || undefined"
3636
:displayData="getDisplayData(section)"
37-
:groupId="`section-${index}`"
37+
:groupId="`${pageId}-section-${index}`"
3838
:items="filterTiles(section.items, searchValue)"
3939
:widgets="section.widgets"
4040
:searchTerm="searchValue"

0 commit comments

Comments
 (0)