From 684dab8ec0ba436efc969e410bbb00216254a29a Mon Sep 17 00:00:00 2001 From: leejinho Date: Thu, 13 Feb 2020 13:59:53 +0900 Subject: [PATCH] =?UTF-8?q?=EC=95=A8=EB=B2=94=ED=95=A8,=20=ED=8C=8C?= =?UTF-8?q?=EC=9D=BC=ED=95=A8=20=EC=98=A4=ED=94=88=EC=8B=9C=20=EC=A0=95?= =?UTF-8?q?=EB=B3=B4=20=EC=83=88=EB=A1=9C=20=EA=B0=B1=EC=8B=A0=ED=95=98?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/messages.component.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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 4af626b8..8e4b39b8 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 @@ -130,6 +130,7 @@ import { ClipboardDialogResult } from '../dialogs/chat/clipboard.dialog.component'; import { AppFileService } from '@app/services/file.service'; +import { FileType } from '@ucap-webmessenger/protocol-file'; @Component({ selector: 'app-layout-messenger-messages', @@ -1491,6 +1492,15 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit { switch (menuType) { case 'OPEN_ALBUM_LIST': { + this.store.dispatch( + EventStore.fileInfo({ + req: { + roomSeq: this.roomInfoSubject.value.roomSeq, + type: FileType.All + } + }) + ); + this.store.dispatch( ChatStore.selectedRightDrawer({ req: RightDrawer.AlbumBox @@ -1500,6 +1510,15 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit { break; case 'OPEN_FILE_LIST': { + this.store.dispatch( + EventStore.fileInfo({ + req: { + roomSeq: this.roomInfoSubject.value.roomSeq, + type: FileType.All + } + }) + ); + this.store.dispatch( ChatStore.selectedRightDrawer({ req: RightDrawer.FileBox