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.
- package/bundles/tnx-shared.umd.js +2 -2
- package/bundles/tnx-shared.umd.js.map +1 -1
- package/bundles/tnx-shared.umd.min.js +1 -1
- package/bundles/tnx-shared.umd.min.js.map +1 -1
- package/esm2015/components/common-app-component/common-app-component.js +3 -3
- package/fesm2015/tnx-shared.js +2 -2
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
|
@@ -33632,7 +33632,7 @@
|
|
|
33632
33632
|
this.icon = '';
|
|
33633
33633
|
this.showMenuIconInactive = false;
|
|
33634
33634
|
this.environment = this._moduleConfigService.getConfig().environment;
|
|
33635
|
-
if (
|
|
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 (
|
|
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, {
|