iachat/app/javascript/dashboard/helper/AnalyticsHelper
Shivam Mishra 5cfac31f93
fix: return if user is not present (#9768)
Fixes
https://chatwoot-p3.sentry.io/share/issue/aa6a3c0accb345e984ed80eaddc3efd5/

In the case where the user is redirected to the page from a redirect
like google login, the analytics helper breaks. This PR fixes it by
checking if the user is present.

This does not break the user email tracking since the user is redirected
anyway and the `AnalyticsHelper` is reinitialised
2024-07-15 17:42:35 +05:30
..
specs feat: Use vitest instead of jest, run all the specs anywhere in app/ folder in the CI (#9722) 2024-07-10 08:32:16 -07:00
events.js feat(ee): Add SLA management UI (#8777) 2024-02-20 23:03:22 -08:00
index.js fix: return if user is not present (#9768) 2024-07-15 17:42:35 +05:30
plugin.js feat: more events tracking for SaaS (#6234) 2023-01-17 21:53:40 -08:00