Files
doneit-web/src/app/shared/header-pr/header-pr.page.ts
T

28 lines
557 B
TypeScript
Raw Normal View History

import { Component, OnInit } from '@angular/core';
import { User } from 'src/app/models/user.model';
import { AuthService } from 'src/app/services/auth.service';
@Component({
selector: 'app-header-pr',
templateUrl: './header-pr.page.html',
styleUrls: ['./header-pr.page.scss'],
})
export class HeaderPrPage implements OnInit {
loggeduser: User;
constructor(authService: AuthService) {
this.loggeduser = authService.ValidatedUser;
}
ngOnInit() {
}
2021-03-02 14:46:38 +01:00
locationPathname(): string {
return window.location.pathname
}
}