From c108131ad44be70cb0206b9459b725a0dc76f488 Mon Sep 17 00:00:00 2001 From: Penar Musaraj Date: Mon, 27 May 2019 15:19:38 -0400 Subject: [PATCH] Revert "Fix JS error in group summary notification message" This reverts commit b1268e00b8aff0f54027478a8a383ef51ee52915. --- .../javascripts/discourse/widgets/notification-item.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/widgets/notification-item.js.es6 b/app/assets/javascripts/discourse/widgets/notification-item.js.es6 index 3f7a7e0192e..e72765946ff 100644 --- a/app/assets/javascripts/discourse/widgets/notification-item.js.es6 +++ b/app/assets/javascripts/discourse/widgets/notification-item.js.es6 @@ -121,7 +121,7 @@ createWidget("notification-item", { if (notificationType === GROUP_SUMMARY_TYPE) { const count = data.inbox_count; const groupName = data.group_name; - return I18n.t(scope, { count, groupName }); + return I18n.t(scope, { count, group_name: groupName }); } else if (notificationType === GROUP_INVITE_TYPE) { const groupName = data.group_name; return I18n.t(scope, { group_name: groupName });