style: rename support queues and align category badges

This commit is contained in:
esdrasrenan 2025-10-05 00:28:45 -03:00
parent fcac720f83
commit dee31117d3
5 changed files with 23 additions and 28 deletions

View file

@ -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))))
;