Skip to content

Commit

Permalink
Fixes not showing failed message status (#272)
Browse files Browse the repository at this point in the history
* Fixes not showing failed message status

* Typo

* Remove unnecessary brackets
  • Loading branch information
Juggo0 authored Aug 12, 2024
1 parent b847b17 commit 2dfc327
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Shared/Im/View/ChatHistory.purs
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ chatHistory { user: { id: loggedUserId, messageTimestamps, joined, temporary, re
}
)
[ HE.span (HA.class' { hidden: noTimestamps }) $ SD.agoWithTime (DN.unwrap date)
, HE.span (HA.class' { hidden: incomingMessage || noTimestamps || noReadReceipts }) " - "
, HE.span (HA.class' { hidden: incomingMessage || noReadReceipts }) $ show status
, HE.span (HA.class' { hidden: incomingMessage || noTimestamps || noReadReceipts && status /= Errored }) " - "
, HE.span (HA.class' { hidden: incomingMessage || noReadReceipts && status /= Errored }) $ show status
]
]
]

0 comments on commit 2dfc327

Please sign in to comment.