Fixed user offline count

pull/16/head
Renato Di Giacomo 2022-08-03 09:59:21 -03:00
parent a5ac537373
commit 0ea0c2e11b
1 changed files with 1 additions and 3 deletions

View File

@ -42,7 +42,6 @@ import { Can } from "../../components/Can";
import { Button } from "@material-ui/core";
import { id } from "date-fns/locale";
const useStyles = makeStyles((theme) => ({
container: {
paddingTop: theme.spacing(4),
@ -363,8 +362,7 @@ const Dashboard = () => {
{
usersOnlineInfo.filter(
(status) =>
status.statusOnline &&
(status.statusOnline.status === "offline" || status.statusOnline)
status.statusOnline || status.statusOnline.status === "offline"
).length
}
</Typography>