diff --git a/frontend/src/components/TicketsList/index.js b/frontend/src/components/TicketsList/index.js index 5ee0ae0..4805b35 100644 --- a/frontend/src/components/TicketsList/index.js +++ b/frontend/src/components/TicketsList/index.js @@ -9,6 +9,7 @@ import TicketListItem from "../TicketListItem"; import TicketsListSkeleton from "../TicketsListSkeleton"; import useTickets from "../../hooks/useTickets"; import { i18n } from "../../translate/i18n"; +import { ListSubheader } from "@material-ui/core"; const useStyles = makeStyles(theme => ({ ticketsListWrapper: { @@ -29,13 +30,14 @@ const useStyles = makeStyles(theme => ({ }, ticketsListHeader: { - display: "flex", - alignItems: "center", - fontWeight: 500, - fontSize: "16px", - height: "56px", + // display: "flex", + // alignItems: "center", + // fontWeight: 500, + // fontSize: "16px", + // height: "56px", color: "rgb(67, 83, 105)", - padding: "0px 12px", + // padding: "0px 12px", + backgroundColor: "white", borderBottom: "1px solid rgba(0, 0, 0, 0.12)", }, @@ -68,6 +70,13 @@ const useStyles = makeStyles(theme => ({ alignItems: "center", justifyContent: "center", }, + listSection: { + backgroundColor: "inherit", + }, + ul: { + backgroundColor: "white", + // padding: 0, + }, })); const reducer = (state, action) => { @@ -255,16 +264,20 @@ const TicketsList = ({ status, searchParam, showAll }) => { > {status === "open" && ( -
+ {i18n.t("ticketsList.assignedHeader")} {ticketsList.length} -
+ + //
+ // {i18n.t("ticketsList.assignedHeader")} + // {ticketsList.length} + //
)} {status === "pending" && ( -
+ {i18n.t("ticketsList.pendingHeader")} {ticketsList.length} -
+ )} {ticketsList.length === 0 && !loading ? (