feat: fix incident table
This commit is contained in:
1 parent
541a5b3f12
commit
e235279af0
4 files changed
+8
-4
No files matched your search
@@ -1,4 +1,3 @@
|
|||||||
import React from "react";
|
|
||||||
import { useTheme } from "@emotion/react";
|
import { useTheme } from "@emotion/react";
|
||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
import { Box, IconButton, LinearProgress, Stack, Typography } from "@mui/material";
|
import { Box, IconButton, LinearProgress, Stack, Typography } from "@mui/material";
|
||||||
|
|||||||
@@ -194,8 +194,7 @@ const TeamPanel = () => {
|
|||||||
},
|
},
|
||||||
"& .MuiTable-root .MuiTableBody-root .MuiTableCell-root, & .MuiTable-root p + p":
|
"& .MuiTable-root .MuiTableBody-root .MuiTableCell-root, & .MuiTable-root p + p":
|
||||||
{
|
{
|
||||||
/* TODO set color */
|
color: theme.palette.primary.contrastTextSecondary,
|
||||||
color: "red" /* theme.palette.text.accent */,
|
|
||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -167,7 +167,12 @@ const IncidentTable = ({ monitors, selectedMonitor, filter }) => {
|
|||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
<TableContainer component={Paper}>
|
<TableContainer component={Paper}>
|
||||||
<Table>
|
<Table
|
||||||
|
sx={{
|
||||||
|
"& :is(th)": { color: theme.palette.primary.contrastText },
|
||||||
|
"& :is(td)": { color: theme.palette.primary.contrastTextSecondary },
|
||||||
|
}}
|
||||||
|
>
|
||||||
<TableHead>
|
<TableHead>
|
||||||
<TableRow>
|
<TableRow>
|
||||||
<TableCell>Monitor Name</TableCell>
|
<TableCell>Monitor Name</TableCell>
|
||||||
|
|||||||
@@ -96,6 +96,7 @@ const Incidents = () => {
|
|||||||
items={Object.values(monitors)}
|
items={Object.values(monitors)}
|
||||||
sx={{
|
sx={{
|
||||||
backgroundColor: theme.palette.primary.main,
|
backgroundColor: theme.palette.primary.main,
|
||||||
|
color: theme.palette.primary.contrastTextSecondary,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<ButtonGroup
|
<ButtonGroup
|
||||||
|
|||||||
Reference in new issue
Block a user