Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
fix(NotificationTray): Only show mark all read if there are any unread
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsoftware committed Nov 24, 2018
1 parent df77f8a commit d48f734
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Notification/NotificationTray.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function NotificationTray(props: Props): React.Node {
/>
</Dropdown.Item>
)))}
{markAllAsRead && (
{markAllAsRead && unread && (
<React.Fragment>
<Dropdown.ItemDivider />
<Dropdown.Item
Expand Down

0 comments on commit d48f734

Please sign in to comment.