tnx-shared 5.1.632 → 5.1.633

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33632,7 +33632,7 @@
33632
33632
  this.icon = '';
33633
33633
  this.showMenuIconInactive = false;
33634
33634
  this.environment = this._moduleConfigService.getConfig().environment;
33635
- if (gtag && this.environment.googleAnalyticCode) {
33635
+ if (this.environment.googleAnalyticCode && gtag) {
33636
33636
  gtag('config', this.environment.googleAnalyticCode);
33637
33637
  this._router.events.subscribe(function (event) {
33638
33638
  if (event instanceof i3.NavigationEnd) {
@@ -33692,7 +33692,7 @@
33692
33692
  var user, domain, subPath, linkRedirect_1, oldUrl;
33693
33693
  var _this = this;
33694
33694
  return __generator(this, function (_b) {
33695
- if (gtag && this.environment.googleAnalyticCode) {
33695
+ if (this.environment.googleAnalyticCode && gtag) {
33696
33696
  user = this._userService.getCurrentUser();
33697
33697
  gtag('set', { user_id: user.userName });
33698
33698
  gtag('config', this.environment.googleAnalyticCode, {