From 72733b966a05f559da1d326a60c61d4fbdfb6071 Mon Sep 17 00:00:00 2001 From: leejinho Date: Mon, 6 Jan 2020 10:12:49 +0900 Subject: [PATCH] =?UTF-8?q?=EC=8A=A4=ED=8B=B0=EC=BB=A4=20=ED=95=9C?= =?UTF-8?q?=EB=B2=88=20=EC=B6=9C=EB=A0=A5=20=ED=9B=84=20=EA=B3=84=EC=86=8D?= =?UTF-8?q?=20=EC=B6=9C=EB=A0=A5=EB=90=98=EB=8A=94=20=EB=AC=B8=EC=A0=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../messenger/components/messages.component.ts | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.ts b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.ts index 2a704c77..6bdf2bc4 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.ts +++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.ts @@ -712,6 +712,7 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit { if (!!this.selectedSticker) { this.isShowStickerSelector = false; this.setStickerHistory(this.selectedSticker); + this.selectedSticker = null; } } else { this.logger.error(res); @@ -760,6 +761,7 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit { ); this.isShowStickerSelector = false; this.setStickerHistory(this.selectedSticker); + this.selectedSticker = null; } else if ( message.trim().length > environment.productConfig.CommonSetting.masstextLength @@ -860,7 +862,10 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit { if (!!result && result.length > 0) { this.saveFile(value, result); } else { - this.snackBarService.open('저장경로 지정에 실패하였습니다.', '확인'); + this.snackBarService.open( + '저장경로 지정에 실패하였습니다.', + '확인' + ); } }) .catch(reason => { @@ -923,11 +928,17 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit { } ); } else { - this.snackBarService.open('파일 저장에 실패하였습니다.', '확인'); + this.snackBarService.open( + '파일 저장에 실패하였습니다.', + '확인' + ); } }) .catch(reason => { - this.snackBarService.open('파일 저장에 실패하였습니다.', '확인'); + this.snackBarService.open( + '파일 저장에 실패하였습니다.', + '확인' + ); }); }) .catch(reason => {