mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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),
|
showSearch: Ember.computed.gte("totalInvites", 10),
|
||||||
|
|
||||||
@computed("invitesCount.total", "invitesCount.pending}")
|
@computed("invitesCount.total", "invitesCount.pending")
|
||||||
pendingLabel(invitesCountTotal, invitesCountPending) {
|
pendingLabel(invitesCountTotal, invitesCountPending) {
|
||||||
if (invitesCountTotal > 50) {
|
if (invitesCountTotal > 50) {
|
||||||
return I18n.t("user.invited.pending_tab_with_count", {
|
return I18n.t("user.invited.pending_tab_with_count", {
|
||||||
|
Loading…
Reference in New Issue
Block a user