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