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