27 lines
540 B
TypeScript
27 lines
540 B
TypeScript
import { Component, OnInit } from '@angular/core';
|
|
import { Router, NavigationExtras } from '@angular/router'
|
|
|
|
|
|
@Component({
|
|
selector: 'app-merms-dash',
|
|
templateUrl: './merms-dash.page.html',
|
|
styleUrls: ['./merms-dash.page.scss'],
|
|
})
|
|
export class MermsDashPage implements OnInit {
|
|
|
|
currentDateFormated: string = '10/10/2020';
|
|
welcomeName: string = '';
|
|
|
|
constructor(private router: Router) {
|
|
|
|
|
|
this.welcomeName = "Dr. Something"
|
|
}
|
|
|
|
ngOnInit() {
|
|
}
|
|
goSettings() {
|
|
this.router.navigateByUrl('/merms-settings')
|
|
}
|
|
}
|