chore: sync staging
This commit is contained in:
parent
c5ddd54a3e
commit
561b19cf66
610 changed files with 105285 additions and 1206 deletions
|
|
@ -225,6 +225,8 @@ export const list = query({
|
|||
slug: category.slug,
|
||||
description: category.description,
|
||||
order: category.order,
|
||||
createdAt: category.createdAt,
|
||||
updatedAt: category.updatedAt,
|
||||
secondary: subcategories
|
||||
.filter((item) => item.categoryId === category._id)
|
||||
.sort((a, b) => a.order - b.order)
|
||||
|
|
@ -233,6 +235,9 @@ export const list = query({
|
|||
name: item.name,
|
||||
slug: item.slug,
|
||||
order: item.order,
|
||||
categoryId: String(item.categoryId),
|
||||
createdAt: item.createdAt,
|
||||
updatedAt: item.updatedAt,
|
||||
})),
|
||||
}))
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue