Skip to content

Commit

Permalink
fix: #7
Browse files Browse the repository at this point in the history
  • Loading branch information
cutls committed Sep 15, 2024
1 parent 3e545bc commit cbec40e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renderer/components/timelines/Notifications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ const Notifications: React.FC<Props> = (props) => {
<Button
appearance="subtle"
title={formatMessage({ id: 'timeline.mark_as_read' })}
disabled={!props.unreads.find((u) => u.server_id === props.server.id && u.count > 0)}
disabled={marker.last_read_id === notifications[0].id}
onClick={read}
style={{ padding: '4px' }}
>
Expand Down

0 comments on commit cbec40e

Please sign in to comment.