FIX: pending counts were not shown on invites tab

FIX: pending counts were not shown on invites tab

diff --git a/app/assets/javascripts/discourse/controllers/user-invited-show.js.es6 b/app/assets/javascripts/discourse/controllers/user-invited-show.js.es6
index f68788f..a157abe 100644
--- a/app/assets/javascripts/discourse/controllers/user-invited-show.js.es6
+++ b/app/assets/javascripts/discourse/controllers/user-invited-show.js.es6
@@ -56,7 +56,7 @@ export default Ember.Controller.extend({
 
   showSearch: Ember.computed.gte("totalInvites", 10),
 
-  @computed("invitesCount.total", "invitesCount.pending}")
+  @computed("invitesCount.total", "invitesCount.pending")
   pendingLabel(invitesCountTotal, invitesCountPending) {
     if (invitesCountTotal > 50) {
       return I18n.t("user.invited.pending_tab_with_count", {

GitHub sha: 824d9402

1 Like

This commit has been mentioned on Discourse Meta. There might be relevant details there: