Fix countClosed in openclosedoutqueue
parent
661dec9935
commit
2b07274aaa
|
@ -93,7 +93,8 @@ const TableUser = ({ classes, usersOnlineInfo, logout }) => {
|
|||
</TableRow>
|
||||
</TableHead>
|
||||
|
||||
<TableBody>
|
||||
{console.log(usersOnlineInfo)}
|
||||
<TableBody style={{ overflowY: "scroll" }}>
|
||||
{usersOnlineInfo &&
|
||||
usersOnlineInfo
|
||||
.filter((e) => {
|
||||
|
@ -210,9 +211,9 @@ const TableUser = ({ classes, usersOnlineInfo, logout }) => {
|
|||
title="Sem Fila"
|
||||
style={{ backgroundColor: "grey" }}
|
||||
>
|
||||
{user.openClosedOutQueue.countOpen === 0
|
||||
{user.openClosedOutQueue.countClosed === 0
|
||||
? 0
|
||||
: user.openClosedOutQueue.countOpen}
|
||||
: user.openClosedOutQueue.countClosed}
|
||||
</Typography>
|
||||
</div>
|
||||
</TableCell>
|
||||
|
|
Loading…
Reference in New Issue