This commit is contained in:
Diego Mello 2022-11-28 17:09:01 -03:00
parent 360afcdd45
commit 363331c953
1 changed files with 0 additions and 5 deletions

View File

@ -105,7 +105,6 @@ interface IRoomsListViewState {
searching?: boolean;
search?: IRoomItem[];
loading?: boolean;
chatsUpdate?: string[] | { rid: string; alert?: boolean }[];
omnichannelsUpdate?: string[];
chats?: IRoomItem[];
item?: ISubscription;
@ -184,7 +183,6 @@ class RoomsListView extends React.Component<IRoomsListViewProps, IRoomsListViewS
searching: false,
search: [],
loading: true,
chatsUpdate: [] as TSubscriptionModel[],
omnichannelsUpdate: [],
chats: [],
item: {} as ISubscription,
@ -567,11 +565,8 @@ class RoomsListView extends React.Component<IRoomsListViewProps, IRoomsListViewS
tempChats = chats;
}
// const chatsUpdate = tempChats.map(item => item.rid);
this.internalSetState({
chats: tempChats,
// chatsUpdate,
omnichannelsUpdate,
loading: false
});