diff --git a/src/app/commons/component/layout/profile/app.profile.component.html b/src/app/commons/component/layout/profile/app.profile.component.html index 05736d8..bf154da 100644 --- a/src/app/commons/component/layout/profile/app.profile.component.html +++ b/src/app/commons/component/layout/profile/app.profile.component.html @@ -1,7 +1,7 @@ -
+
- {{name}} + {{domainMember.member.name}} keyboard_arrow_down
diff --git a/src/app/commons/component/layout/profile/app.profile.component.ts b/src/app/commons/component/layout/profile/app.profile.component.ts index a8c57d0..014bbf2 100644 --- a/src/app/commons/component/layout/profile/app.profile.component.ts +++ b/src/app/commons/component/layout/profile/app.profile.component.ts @@ -9,6 +9,7 @@ import { AuthContainerSelector } from '@overflow/shared/auth/store'; import { AppComponent } from '../../../../app.component'; import { PagesComponent } from '../../../../pages/pages.component'; +import { DomainMember } from '@overflow/commons-typescript/model/domain'; @Component({ selector: 'of-inline-profile', @@ -28,7 +29,7 @@ import { PagesComponent } from '../../../../pages/pages.component'; }) export class AppInlineProfileComponent implements OnInit { active: boolean; - member$: Observable; + domainMember$: Observable; constructor( public app: PagesComponent, @@ -37,7 +38,7 @@ export class AppInlineProfileComponent implements OnInit { } ngOnInit() { - this.member$ = this.store.select(AuthContainerSelector.selectDomainMember); + this.domainMember$ = this.store.select(AuthContainerSelector.selectDomainMember); } onClick(event) {