2019-11-05 15:59:06 +01:00
|
|
|
import {Component, OnInit} from '@angular/core';
|
|
|
|
import {SideBarService} from "../library/sharedComponents/sidebar/sideBar.service";
|
|
|
|
|
2019-10-24 09:44:29 +02:00
|
|
|
@Component({
|
|
|
|
selector: 'openaire-error',
|
|
|
|
template: `
|
|
|
|
<error></error>
|
|
|
|
`
|
|
|
|
})
|
2019-11-05 15:59:06 +01:00
|
|
|
export class OpenaireErrorPageComponent implements OnInit{
|
2019-10-24 09:44:29 +02:00
|
|
|
|
2019-11-05 15:59:06 +01:00
|
|
|
constructor(private sidebarService: SideBarService) {}
|
2019-10-24 09:44:29 +02:00
|
|
|
|
2019-11-05 15:59:06 +01:00
|
|
|
ngOnInit(): void {
|
|
|
|
this.sidebarService.setHasSidebar(false);
|
|
|
|
}
|
2019-10-24 09:44:29 +02:00
|
|
|
}
|