# 이슈처리 213
This commit is contained in:
parent
254bc2c05b
commit
aa2bdad471
|
@ -61,6 +61,7 @@ import {
|
|||
} from '../../dialogs/message/message-write.dialog.component';
|
||||
import { UserInfo } from '@ucap-webmessenger/protocol-sync';
|
||||
import { EmployeeType } from '@ucap-webmessenger/protocol-room';
|
||||
import { map } from 'rxjs/operators';
|
||||
|
||||
export interface MessageTypeData {
|
||||
displayName: string;
|
||||
|
@ -142,19 +143,39 @@ export class MessageBoxComponent
|
|||
});
|
||||
|
||||
this.messageRetrieveList$ = this.store.pipe(
|
||||
select(AppStore.MessengerSelector.MessageSelector.selectAllReceiveList)
|
||||
select(AppStore.MessengerSelector.MessageSelector.selectAllReceiveList),
|
||||
map(list =>
|
||||
list.sort((a, b) =>
|
||||
a.regDate > b.regDate ? -1 : a.regDate < b.regDate ? 1 : 0
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
this.messageSendList$ = this.store.pipe(
|
||||
select(AppStore.MessengerSelector.MessageSelector.selectAllSendList)
|
||||
select(AppStore.MessengerSelector.MessageSelector.selectAllSendList),
|
||||
map(list =>
|
||||
list.sort((a, b) =>
|
||||
a.regDate > b.regDate ? -1 : a.regDate < b.regDate ? 1 : 0
|
||||
)
|
||||
)
|
||||
);
|
||||
this.messageReservationList$ = this.store.pipe(
|
||||
select(
|
||||
AppStore.MessengerSelector.MessageSelector.selectAllReservationList
|
||||
),
|
||||
map(list =>
|
||||
list.sort((a, b) =>
|
||||
a.regDate > b.regDate ? -1 : a.regDate < b.regDate ? 1 : 0
|
||||
)
|
||||
)
|
||||
);
|
||||
this.messageSearchList$ = this.store.pipe(
|
||||
select(AppStore.MessengerSelector.MessageSelector.selectAllSearchList)
|
||||
select(AppStore.MessengerSelector.MessageSelector.selectAllSearchList),
|
||||
map(list =>
|
||||
list.sort((a, b) =>
|
||||
a.regDate > b.regDate ? -1 : a.regDate < b.regDate ? 1 : 0
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
this.messageDetailInfo = this.store
|
||||
|
|
Loading…
Reference in New Issue
Block a user