From b60f722a910d09d80bbaacefd66d1ad2f4a70835 Mon Sep 17 00:00:00 2001 From: IanM <16573496+imorland@users.noreply.github.com> Date: Thu, 5 Sep 2024 13:58:30 +0100 Subject: [PATCH] fix: all drafts considered new by the drafts badge (#101) --- js/src/forum/components/DraftsDropdown.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/src/forum/components/DraftsDropdown.js b/js/src/forum/components/DraftsDropdown.js index 3ffa239..26da794 100644 --- a/js/src/forum/components/DraftsDropdown.js +++ b/js/src/forum/components/DraftsDropdown.js @@ -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; } }