앨범함, 파일함 오픈시 정보 새로 갱신하도록 수정.

This commit is contained in:
leejinho 2020-02-13 13:59:53 +09:00
parent e825097971
commit 684dab8ec0

View File

@ -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