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

20 lines
405 B
TypeScript

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