style: rename support queues and align category badges
This commit is contained in:
parent
fcac720f83
commit
dee31117d3
5 changed files with 23 additions and 28 deletions
|
|
@ -13,8 +13,8 @@ export const seedDemo = mutation({
|
|||
? existingQueues
|
||||
: await Promise.all(
|
||||
[
|
||||
{ name: "Suporte N1", slug: "suporte-n1" },
|
||||
{ name: "Suporte N2", slug: "suporte-n2" },
|
||||
{ name: "Chamados", slug: "chamados" },
|
||||
{ name: "Laboratório", slug: "laboratorio" },
|
||||
].map((q) => ctx.db.insert("queues", { tenantId, name: q.name, slug: q.slug, teamId: undefined }))
|
||||
).then((ids) => Promise.all(ids.map((id) => ctx.db.get(id))))
|
||||
;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue