h-usersite/src/app/pages/not-found/not-found.component.ts
Kataev Denis 86eaca953e dev #12401
Страница 404 доработка
2022-09-29 10:15:21 +04:00

21 lines
405 B
TypeScript

import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
@Component({
selector: 'app-not-found',
templateUrl: './not-found.component.html',
styleUrls: ['./not-found.component.scss']
})
export class NotFoundComponent implements OnInit {
constructor(private router: Router) { }
ngOnInit(): void {
}
routeHome() {
this.router.navigate(['/']);
}
}