Skip to content

Commit

Permalink
📈 Add ll_medium for tag and q in store page
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed Dec 26, 2024
1 parent f5a9259 commit 2393d8d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pages/store/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -983,6 +983,7 @@ export default {
...this.$route.query,
tag: undefined,
q: value,
ll_medium: 'search',
};
this.$router.replace({ query });
},
Expand All @@ -1005,6 +1006,7 @@ export default {
query: {
...this.$route.query,
tag: 'featured',
ll_medium: 'tag-featured',
},
}),
},
Expand All @@ -1015,6 +1017,7 @@ export default {
query: {
...this.$route.query,
tag: 'latest',
ll_medium: 'tag-latest',
},
}),
},
Expand All @@ -1028,6 +1031,7 @@ export default {
...this.$route.query,
q: undefined,
tag: tag.id,
ll_medium: `tag-${tag.id}`,
},
}),
})),
Expand Down

0 comments on commit 2393d8d

Please sign in to comment.