mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 13:55:51 +00:00
23 lines
577 B
TypeScript
23 lines
577 B
TypeScript
import { Component, OnInit } from '@angular/core';
|
|
import { Router } from '@angular/router';
|
|
import { ToastService } from 'src/app/services/toast.service';
|
|
|
|
@Component({
|
|
selector: 'app-not-found',
|
|
templateUrl: './not-found.page.html',
|
|
styleUrls: ['./not-found.page.scss'],
|
|
})
|
|
export class NotFoundPage implements OnInit {
|
|
|
|
constructor(
|
|
private router: Router,
|
|
private toastService: ToastService,
|
|
) { }
|
|
|
|
ngOnInit() {
|
|
this.router.navigate(['/home/events']);
|
|
this.toastService._badRequest("Página não encontrada. Contacte o suporte técnico")
|
|
}
|
|
|
|
}
|