menu of profile is modified
This commit is contained in:
parent
d5132ec71a
commit
bf2603f8ab
|
@ -219,8 +219,8 @@
|
||||||
<ucap-profile-my-profile-widget
|
<ucap-profile-my-profile-widget
|
||||||
[profileImageRoot]="sessionVerinfo.profileRoot"
|
[profileImageRoot]="sessionVerinfo.profileRoot"
|
||||||
[profileImageFile]="getMyProfileImageWidget()"
|
[profileImageFile]="getMyProfileImageWidget()"
|
||||||
(openProfile)="onClickOpenProfile()"
|
(click)="onClickOpenProfile($event)"
|
||||||
class="myprofile"
|
class="myprofile button"
|
||||||
></ucap-profile-my-profile-widget>
|
></ucap-profile-my-profile-widget>
|
||||||
</div>
|
</div>
|
||||||
<div class="app-layout-native-title-bar-actions">
|
<div class="app-layout-native-title-bar-actions">
|
||||||
|
|
|
@ -224,7 +224,7 @@ export class TopBarComponent implements OnInit, OnDestroy {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
onClickOpenProfile() {
|
onClickOpenProfile(event: Event) {
|
||||||
// [GROUP]
|
// [GROUP]
|
||||||
// this.queryProtocolService
|
// this.queryProtocolService
|
||||||
// .dataUser({
|
// .dataUser({
|
||||||
|
@ -251,6 +251,9 @@ export class TopBarComponent implements OnInit, OnDestroy {
|
||||||
// )
|
// )
|
||||||
// .subscribe();
|
// .subscribe();
|
||||||
|
|
||||||
|
this.logger.debug('onClickOpenProfile');
|
||||||
|
return;
|
||||||
|
|
||||||
// [Daesang]
|
// [Daesang]
|
||||||
this.daesangProtocolService
|
this.daesangProtocolService
|
||||||
.dataUserDaesang({
|
.dataUserDaesang({
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
|
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
|
||||||
import { UserInfo } from '@ucap-webmessenger/protocol-room';
|
import { NGXLogger } from 'ngx-logger';
|
||||||
import {
|
|
||||||
UserInfoSS,
|
|
||||||
UserInfoF,
|
|
||||||
UserInfoDN
|
|
||||||
} from '@ucap-webmessenger/protocol-query';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'ucap-profile-my-profile-widget',
|
selector: 'ucap-profile-my-profile-widget',
|
||||||
|
@ -17,22 +12,7 @@ export class MyProfileWidgetComponent implements OnInit {
|
||||||
@Input()
|
@Input()
|
||||||
profileImageFile: string;
|
profileImageFile: string;
|
||||||
|
|
||||||
@Output()
|
constructor(private logger: NGXLogger) {}
|
||||||
openProfile = new EventEmitter<
|
|
||||||
UserInfo | UserInfoSS | UserInfoF | UserInfoDN
|
|
||||||
>();
|
|
||||||
|
|
||||||
constructor() {}
|
|
||||||
|
|
||||||
ngOnInit() {}
|
ngOnInit() {}
|
||||||
|
|
||||||
onClickOpenProfile(
|
|
||||||
event: MouseEvent,
|
|
||||||
userInfo: UserInfo | UserInfoSS | UserInfoF | UserInfoDN
|
|
||||||
) {
|
|
||||||
event.preventDefault();
|
|
||||||
event.stopPropagation();
|
|
||||||
|
|
||||||
this.openProfile.emit(userInfo);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user