mirror of
https://github.com/discourse/discourse.git
synced 2025-04-19 06:59:06 +08:00
FIX: pending counts were not shown on invites tab
This commit is contained in:
parent
714f6cde79
commit
824d9402a4
@ -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", {
|
||||
|
Loading…
x
Reference in New Issue
Block a user