Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F123948577
profile.component.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Jul 30, 13:05
Size
444 B
Mime Type
text/x-java
Expires
Fri, Aug 1, 13:05 (2 d)
Engine
blob
Format
Raw Data
Handle
27782205
Attached To
R8244 Eawag_Swing_Weight_Elicitation
profile.component.ts
View Options
import { Component } from '@angular/core';
import { AuthenticationService, UserDetails } from '../authentication.service';
@Component({
templateUrl: './profile.component.html'
})
export class ProfileComponent {
details: UserDetails;
constructor(private auth: AuthenticationService) {}
ngOnInit() {
this.auth.profile().subscribe(user => {
this.details = user;
}, (err) => {
console.error(err);
});
}
}
Event Timeline
Log In to Comment