Files
jambotron/jambotron-ui/src/app/components/profile/profile.component.ts
T
2025-06-14 19:41:08 +03:00

20 lines
482 B
TypeScript

import { Component, OnInit } from '@angular/core';
import {TokenStorageService} from '../../services/token-storage.service';
@Component({
selector: 'app-profile',
templateUrl: './profile.component.html',
styleUrls: ['./profile.component.scss'],
standalone: false
})
export class ProfileComponent implements OnInit {
currentUser: any;
constructor(private token: TokenStorageService) { }
ngOnInit(): void {
this.currentUser = this.token.getUser();
}
}