monitor-dashboard/src/app/error/errorPage.component.ts

18 lines
425 B
TypeScript
Raw Normal View History

import {Component, OnInit} from '@angular/core';
import {SideBarService} from "../library/sharedComponents/sidebar/sideBar.service";
@Component({
selector: 'openaire-error',
template: `
<error></error>
`
})
export class OpenaireErrorPageComponent implements OnInit{
constructor(private sidebarService: SideBarService) {}
ngOnInit(): void {
this.sidebarService.setHasSidebar(false);
}
}