settings
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import {Router} from "@angular/router";
|
||||
|
||||
@Component({
|
||||
selector: 'app-dash',
|
||||
@@ -7,9 +8,11 @@ import { Component, OnInit } from '@angular/core';
|
||||
})
|
||||
export class DashPage implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
constructor(private router: Router) { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
openSettings(){
|
||||
this.router.navigate(['settings']);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user