[develop | DONE | FIXED]: Initialize properties on field definition (files: contact.component.ts & funders.component.ts)

This commit is contained in:
Konstantina Galouni 2024-07-05 15:55:12 +03:00
parent faad25e780
commit 7a863e3d4b
2 changed files with 0 additions and 2 deletions

View File

@ -58,7 +58,6 @@ export class ContactComponent implements OnInit {
ngOnInit() {
this._title.setTitle('OpenAIRE - Explore | Contact Us');
this.properties = properties;
this.email = {body: '', subject: '', recipients: []};
this.subscriptions.push( this._piwikService.trackView(this.properties, this.pageTitle).subscribe());
this.url = this.properties.domain + this._router.url;

View File

@ -96,7 +96,6 @@ export class FundersComponent implements OnInit {
ngOnInit() {
this.layoutService.setRootClass('funders');
this.title.setTitle('OpenAIRE - Explore | Funders');
this.properties = properties;
this.subscriptions.push( this.piwikService.trackView(this.properties, this.pageTitle).subscribe());
this.url = this.properties.domain + this.router.url;
this.seoService.createLinkForCanonicalURL(this.url);