wt-front-shared 1.0.45 → 1.0.46

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.
@@ -10125,6 +10125,7 @@ class SiteHelperComponent {
10125
10125
  }
10126
10126
  }
10127
10127
  runSiteHelper(configuration) {
10128
+ console.log('runSiteHelper', this.siteHelperRunning, configuration);
10128
10129
  this.stopSiteTour();
10129
10130
  if (this.siteHelperRunning) {
10130
10131
  this.activeConfigStep = -1;
@@ -10134,8 +10135,10 @@ class SiteHelperComponent {
10134
10135
  else if (this.configurations[this.pageUrl]) {
10135
10136
  const helperKey = `url-${this.pageUrl}`;
10136
10137
  const cookieKey = this.getCookieKey(helperKey);
10138
+ console.log('helperKey', helperKey, cookieKey);
10137
10139
  if (!this.cookieService.get(cookieKey)) {
10138
10140
  this.currentSiteHelperKey = `url-${this.pageUrl}`;
10141
+ console.log('this.currentSiteHelperKey', this.currentSiteHelperKey);
10139
10142
  this.currentSiteHelperConfiguration = this.configurations[this.pageUrl];
10140
10143
  }
10141
10144
  }
@@ -10145,6 +10148,7 @@ class SiteHelperComponent {
10145
10148
  }
10146
10149
  }
10147
10150
  async runSiteHelperNextStep() {
10151
+ console.log('runSiteHelperNextStep');
10148
10152
  if (!this.siteHelperRunning) {
10149
10153
  return;
10150
10154
  }
@@ -10960,7 +10964,7 @@ class StaticDataDetailsComponent {
10960
10964
  this.requestsFacade.createRequestListener(`static-data/${this.contentType}`, this.putMethod, this.itemId);
10961
10965
  }
10962
10966
  }
10963
- if (this.staticSection.options.subEntities && urlFragment) {
10967
+ if (this.staticSection.options?.subEntities && urlFragment) {
10964
10968
  this.staticSection.options.subEntities.forEach((item, index) => {
10965
10969
  if (item.hashTag === urlFragment) {
10966
10970
  this.activeTabIndex = index + 1;