You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
RTL/src/app/shared/components/not-found/not-found.component.ts

17 lines
315 B
TypeScript

import { Component } from '@angular/core';
import { Router } from '@angular/router';
@Component({
selector: 'rtl-not-found',
templateUrl: './not-found.component.html'
})
export class NotFoundComponent {
constructor(public router: Router) {}
goToHelp(): void {
this.router.navigate(['/help']);
}
}