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