Project

General

Profile

« Previous | Next » 

Revision 55963

[angular7|library]

Merging Trunk into branch 55904:55959

View differences:

dataProvider.component.ts
129 129
     .subscribe((data: { envSpecific: EnvProperties }) => {
130 130
        this.properties = data.envSpecific;
131 131
        this.updateUrl(data.envSpecific.baseLink+this._router.url);
132
        this.seoService.createLinkForCanonicalURL(this.properties.baseLink+this._router.url);
133 132

  
134 133
     });
135 134
   this.sub =  this.route.queryParams.subscribe(data => {
......
174 173
      this.subInfo = this._dataproviderService.getDataproviderInfo(this.datasourceId, this.properties).subscribe(
175 174
        data => {
176 175
            this.dataProviderInfo = data;
177

  
176
            this.seoService.createLinkForCanonicalURL(this.properties.baseLink+this._router.url);
178 177
            this.getDataProviderAggregationStatus(this.dataProviderInfo.originalId);
179 178

  
180 179
            this.initTabs();
......
196 195
          this.handleError("Error getting content provider for id: "+this.datasourceId, err);
197 196
          this.errorMessage = 'No dataProvider found';
198 197
          this.showLoading = false;
198
          this.seoService.createLinkForCanonicalURL(this.properties.baseLink + this.properties.searchLinkToDataProviders);
199 199
        }
200 200
      );
201 201
    }

Also available in: Unified diff