[develop | DONE | FIXED]: Initialize properties on field definition (files: contact.component.ts & funders.component.ts)
This commit is contained in:
parent
faad25e780
commit
7a863e3d4b
|
@ -58,7 +58,6 @@ export class ContactComponent implements OnInit {
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this._title.setTitle('OpenAIRE - Explore | Contact Us');
|
this._title.setTitle('OpenAIRE - Explore | Contact Us');
|
||||||
|
|
||||||
this.properties = properties;
|
|
||||||
this.email = {body: '', subject: '', recipients: []};
|
this.email = {body: '', subject: '', recipients: []};
|
||||||
this.subscriptions.push( this._piwikService.trackView(this.properties, this.pageTitle).subscribe());
|
this.subscriptions.push( this._piwikService.trackView(this.properties, this.pageTitle).subscribe());
|
||||||
this.url = this.properties.domain + this._router.url;
|
this.url = this.properties.domain + this._router.url;
|
||||||
|
|
|
@ -96,7 +96,6 @@ export class FundersComponent implements OnInit {
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.layoutService.setRootClass('funders');
|
this.layoutService.setRootClass('funders');
|
||||||
this.title.setTitle('OpenAIRE - Explore | Funders');
|
this.title.setTitle('OpenAIRE - Explore | Funders');
|
||||||
this.properties = properties;
|
|
||||||
this.subscriptions.push( this.piwikService.trackView(this.properties, this.pageTitle).subscribe());
|
this.subscriptions.push( this.piwikService.trackView(this.properties, this.pageTitle).subscribe());
|
||||||
this.url = this.properties.domain + this.router.url;
|
this.url = this.properties.domain + this.router.url;
|
||||||
this.seoService.createLinkForCanonicalURL(this.url);
|
this.seoService.createLinkForCanonicalURL(this.url);
|
||||||
|
|
Loading…
Reference in New Issue