tnx-shared 5.1.630 → 5.1.632
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 +3 -3
- 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 +4 -4
- package/fesm2015/tnx-shared.js +3 -3
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
|
@@ -33631,7 +33631,8 @@
|
|
|
33631
33631
|
this.favIcon = this.document.querySelector('#appFavicon');
|
|
33632
33632
|
this.icon = '';
|
|
33633
33633
|
this.showMenuIconInactive = false;
|
|
33634
|
-
|
|
33634
|
+
this.environment = this._moduleConfigService.getConfig().environment;
|
|
33635
|
+
if (gtag && this.environment.googleAnalyticCode) {
|
|
33635
33636
|
gtag('config', this.environment.googleAnalyticCode);
|
|
33636
33637
|
this._router.events.subscribe(function (event) {
|
|
33637
33638
|
if (event instanceof i3.NavigationEnd) {
|
|
@@ -33639,7 +33640,6 @@
|
|
|
33639
33640
|
}
|
|
33640
33641
|
});
|
|
33641
33642
|
}
|
|
33642
|
-
this.environment = this._moduleConfigService.getConfig().environment;
|
|
33643
33643
|
this.appCode = this._moduleConfigService.getConfig().appCode;
|
|
33644
33644
|
this.icon = this.environment.appMetadata.main.favicon;
|
|
33645
33645
|
if (this.favIcon) {
|
|
@@ -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) {
|
|
33695
|
+
if (gtag && this.environment.googleAnalyticCode) {
|
|
33696
33696
|
user = this._userService.getCurrentUser();
|
|
33697
33697
|
gtag('set', { user_id: user.userName });
|
|
33698
33698
|
gtag('config', this.environment.googleAnalyticCode, {
|