Cleanup
This commit is contained in:
parent
360afcdd45
commit
363331c953
|
@ -105,7 +105,6 @@ interface IRoomsListViewState {
|
||||||
searching?: boolean;
|
searching?: boolean;
|
||||||
search?: IRoomItem[];
|
search?: IRoomItem[];
|
||||||
loading?: boolean;
|
loading?: boolean;
|
||||||
chatsUpdate?: string[] | { rid: string; alert?: boolean }[];
|
|
||||||
omnichannelsUpdate?: string[];
|
omnichannelsUpdate?: string[];
|
||||||
chats?: IRoomItem[];
|
chats?: IRoomItem[];
|
||||||
item?: ISubscription;
|
item?: ISubscription;
|
||||||
|
@ -184,7 +183,6 @@ class RoomsListView extends React.Component<IRoomsListViewProps, IRoomsListViewS
|
||||||
searching: false,
|
searching: false,
|
||||||
search: [],
|
search: [],
|
||||||
loading: true,
|
loading: true,
|
||||||
chatsUpdate: [] as TSubscriptionModel[],
|
|
||||||
omnichannelsUpdate: [],
|
omnichannelsUpdate: [],
|
||||||
chats: [],
|
chats: [],
|
||||||
item: {} as ISubscription,
|
item: {} as ISubscription,
|
||||||
|
@ -567,11 +565,8 @@ class RoomsListView extends React.Component<IRoomsListViewProps, IRoomsListViewS
|
||||||
tempChats = chats;
|
tempChats = chats;
|
||||||
}
|
}
|
||||||
|
|
||||||
// const chatsUpdate = tempChats.map(item => item.rid);
|
|
||||||
|
|
||||||
this.internalSetState({
|
this.internalSetState({
|
||||||
chats: tempChats,
|
chats: tempChats,
|
||||||
// chatsUpdate,
|
|
||||||
omnichannelsUpdate,
|
omnichannelsUpdate,
|
||||||
loading: false
|
loading: false
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue