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

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 ClipboardDialogResult
} from '../dialogs/chat/clipboard.dialog.component'; } from '../dialogs/chat/clipboard.dialog.component';
import { AppFileService } from '@app/services/file.service'; import { AppFileService } from '@app/services/file.service';
import { FileType } from '@ucap-webmessenger/protocol-file';
@Component({ @Component({
selector: 'app-layout-messenger-messages', selector: 'app-layout-messenger-messages',
@ -1491,6 +1492,15 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit {
switch (menuType) { switch (menuType) {
case 'OPEN_ALBUM_LIST': case 'OPEN_ALBUM_LIST':
{ {
this.store.dispatch(
EventStore.fileInfo({
req: {
roomSeq: this.roomInfoSubject.value.roomSeq,
type: FileType.All
}
})
);
this.store.dispatch( this.store.dispatch(
ChatStore.selectedRightDrawer({ ChatStore.selectedRightDrawer({
req: RightDrawer.AlbumBox req: RightDrawer.AlbumBox
@ -1500,6 +1510,15 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit {
break; break;
case 'OPEN_FILE_LIST': case 'OPEN_FILE_LIST':
{ {
this.store.dispatch(
EventStore.fileInfo({
req: {
roomSeq: this.roomInfoSubject.value.roomSeq,
type: FileType.All
}
})
);
this.store.dispatch( this.store.dispatch(
ChatStore.selectedRightDrawer({ ChatStore.selectedRightDrawer({
req: RightDrawer.FileBox req: RightDrawer.FileBox