From 85f4a31585732f850d412122d807402651476ba5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberto=20Fern=C3=A1ndez=20Capel?= Date: Thu, 7 Jun 2018 16:49:17 +0100 Subject: [PATCH] Proper coffee syntax --- .../coffee/Features/Subscription/LimitationsManager.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/web/app/coffee/Features/Subscription/LimitationsManager.coffee b/services/web/app/coffee/Features/Subscription/LimitationsManager.coffee index 92011a5f22..d7144b0ba0 100644 --- a/services/web/app/coffee/Features/Subscription/LimitationsManager.coffee +++ b/services/web/app/coffee/Features/Subscription/LimitationsManager.coffee @@ -56,9 +56,9 @@ module.exports = LimitationsManager = callback err, subscriptions.length > 0, subscriptions teamHasReachedMemberLimit: (subscription) -> - currentTotal = (subscription.member_ids or []).length - + (subscription.teamInvites or []).length - + (subscription.invited_emails or []).length + currentTotal = (subscription.member_ids or []).length + + (subscription.teamInvites or []).length + + (subscription.invited_emails or []).length return currentTotal >= subscription.membersLimit