1
0
mirror of https://github.com/flarum/core.git synced 2025-08-01 22:20:21 +02:00

fix(regression): slidable mark read showing for read discussions

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
This commit is contained in:
Sami Mazouz
2023-05-17 11:37:33 +01:00
parent 980cfd6c28
commit 789246b621

View File

@@ -98,7 +98,7 @@ export default class DiscussionListItem<CustomAttrs extends IDiscussionListItemA
return (
<span
className={classList('Slidable-underneath Slidable-underneath--left Slidable-underneath--elastic', { disabled: isUnread })}
className={classList('Slidable-underneath Slidable-underneath--left Slidable-underneath--elastic', { disabled: !isUnread })}
onclick={this.markAsRead.bind(this)}
>
{icon('fas fa-check')}