feat(categories): add options to select what categories to show on front page

This commit is contained in:
2025-09-24 14:02:13 +03:00
parent 490cbfacf7
commit 9e4022f648
6 changed files with 93 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ export const useCategoriesStore = defineStore('categories', {
try {
this.isLoading = true;
const response = await ftch('categoriesList', {
perPage: 7,
forMainPage: true,
});
this.topCategories = response.data;
} catch (error) {