앨범함, 파일함 오픈시 정보 새로 갱신하도록 수정.
This commit is contained in:
parent
e825097971
commit
684dab8ec0
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user