bug fixed

This commit is contained in:
2026-06-13 18:03:15 +03:30
parent 548866160c
commit 2e159dde20
2 changed files with 9 additions and 10 deletions
+7
View File
@@ -0,0 +1,7 @@
import { getStoreCategories } from '@/api/categories'
/** تب‌های فیلتر محصول — فقط از API دسته‌بندی (هماهنگ با پنل ادمین) */
export async function loadProductCategoryTabNames(): Promise<string[]> {
const categories = await getStoreCategories()
return categories.map((item) => item.name)
}