fix(select): evitar value vazio em Select (fila) no novo ticket; feat(timeline): nomes/avatares do ator e mensagens PT-BR; feat(ui): skeletons para lista e recentes; grid de anexos e legendas; melhorias de cards/padding
This commit is contained in:
parent
44c98fec4a
commit
da1633a30e
6 changed files with 59 additions and 23 deletions
|
|
@ -105,7 +105,7 @@ export function TicketComments({ ticket }: TicketCommentsProps) {
|
|||
{comment.body}
|
||||
</div>
|
||||
{comment.attachments?.length ? (
|
||||
<div className="flex flex-wrap gap-3">
|
||||
<div className="grid max-w-xl grid-cols-[repeat(auto-fill,minmax(96px,1fr))] gap-3">
|
||||
{comment.attachments.map((a) => {
|
||||
const att = a as any
|
||||
const isImg = (att?.url ?? "").match(/\.(png|jpe?g|gif|webp|svg)$/i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue