Skip to content

Commit

Permalink
fix: all drafts considered new by the drafts badge (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland authored Sep 5, 2024
1 parent b4a70fb commit b60f722
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/src/forum/components/DraftsDropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export default class DraftsDropdown extends NotificationsDropdown {
}

getNewCount() {
return this.getUnreadCount();
// We return 0 here so that the drafts dropdown doesn't always show a new count (usually highlighted in the forum primary color).
return 0;
}
}

0 comments on commit b60f722

Please sign in to comment.