diff --git a/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.html b/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.html
index 019e2128..515eaa91 100644
--- a/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.html
+++ b/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.html
@@ -219,8 +219,8 @@
diff --git a/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.ts b/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.ts
index 3bc6e135..a31bae3f 100644
--- a/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.ts
+++ b/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.ts
@@ -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({
diff --git a/projects/ucap-webmessenger-ui-profile/src/lib/components/my-profile-widget.component.ts b/projects/ucap-webmessenger-ui-profile/src/lib/components/my-profile-widget.component.ts
index af11f3de..6d53f04e 100644
--- a/projects/ucap-webmessenger-ui-profile/src/lib/components/my-profile-widget.component.ts
+++ b/projects/ucap-webmessenger-ui-profile/src/lib/components/my-profile-widget.component.ts
@@ -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);
- }
}