From 1ef55a24192d7f8d31d9d7e9a78555b98caf58fb Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Tue, 28 Sep 2021 17:18:56 +0100 Subject: [PATCH] remove company size logic from the code --- packages/builder/src/stores/portal/auth.js | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/packages/builder/src/stores/portal/auth.js b/packages/builder/src/stores/portal/auth.js index e33a1f22ac..95157e3f93 100644 --- a/packages/builder/src/stores/portal/auth.js +++ b/packages/builder/src/stores/portal/auth.js @@ -54,15 +54,13 @@ export function createAuthStore() { if (user) { analytics.activate().then(() => { analytics.identify(user._id, user) - if (user.size === "100+" || user.size === "10000+") { - analytics.showChat({ - email: user.email, - created_at: user.createdAt || Date.now(), - name: user.name, - user_id: user._id, - tenant: user.tenantId, - }) - } + analytics.showChat({ + email: user.email, + created_at: user.createdAt || Date.now(), + name: user.name, + user_id: user._id, + tenant: user.tenantId, + }) }) } }