fix: harden machine session fallback and clean lint
This commit is contained in:
parent
2607ca5ce3
commit
846e575637
6 changed files with 60 additions and 32 deletions
|
|
@ -650,7 +650,7 @@ function CommentAttachmentCard({
|
|||
window.open(target, "_blank", "noopener,noreferrer")
|
||||
toast.error("Não foi possível baixar o anexo automaticamente.", { id: toastId })
|
||||
}
|
||||
}, [attachment.name, ensureUrl, url])
|
||||
}, [attachment.id, attachment.name, ensureUrl, url])
|
||||
|
||||
const name = attachment.name ?? ""
|
||||
const urlLooksImage = url ? /\.(png|jpe?g|gif|webp|svg)$/i.test(url) : false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue