Skip to content

Commit

Permalink
web: fix attachment dialog not opening on error
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodrr committed Dec 11, 2023
1 parent 4961102 commit d881bdb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apps/web/src/components/attachment/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,11 @@ export function Attachment({
<AttachmentError
color={"icon-error"}
size={16}
title={attachment.failed}
title={
typeof attachment.failed === "object"
? attachment.failed.toString()
: attachment.failed
}
/>
) : attachment.working ? (
<Loading size={16} />
Expand Down

0 comments on commit d881bdb

Please sign in to comment.