sort of event list is added
This commit is contained in:
parent
6ff7a3acda
commit
93eb386825
|
@ -11,7 +11,10 @@ export interface State {
|
|||
}
|
||||
|
||||
export const adapterInfoList = createEntityAdapter<Info>({
|
||||
selectId: info => info.seq
|
||||
selectId: info => info.seq,
|
||||
sortComparer: (a, b) => {
|
||||
return a.seq - b.seq;
|
||||
}
|
||||
});
|
||||
|
||||
const infoListInitialState: InfoListState = adapterInfoList.getInitialState({});
|
||||
|
|
Loading…
Reference in New Issue
Block a user