allerta-vvf/frontend/src/app/_routes/services/services.component.ts

25 lines
487 B
TypeScript
Raw Normal View History

2021-12-04 21:36:11 +01:00
import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
2021-12-04 21:36:11 +01:00
@Component({
selector: 'app-services',
templateUrl: './services.component.html',
styleUrls: ['./services.component.scss']
})
export class ServicesComponent implements OnInit {
constructor(private router: Router) { }
2021-12-04 21:36:11 +01:00
ngOnInit(): void {
}
addService() {
this.router.navigate(['services', 'new']);
}
2024-01-17 16:08:11 +01:00
goToStats() {
this.router.navigate(['stats', 'services']);
}
2021-12-04 21:36:11 +01:00
}