Skip to content

Commit

Permalink
[frontend] replace primary color by marking color (#6542)
Browse files Browse the repository at this point in the history
  • Loading branch information
frapuks committed Apr 3, 2024
1 parent 727d5cc commit c1d49eb
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import ListItemText from '@mui/material/ListItemText';
import ListItemIcon from '@mui/material/ListItemIcon';
import Checkbox from '@mui/material/Checkbox';
import Alert from '@mui/lab/Alert';
import { CenterFocusStrongOutlined } from '@mui/icons-material';
import makeStyles from '@mui/styles/makeStyles';
import { Field, Form, Formik } from 'formik';
import Typography from '@mui/material/Typography';
Expand Down Expand Up @@ -200,8 +199,11 @@ const GroupEditionMarkingsComponent = ({
);
return (
<ListItem key={markingDefinition.id} divider={true}>
<ListItemIcon color="primary">
<CenterFocusStrongOutlined />
<ListItemIcon>
<ItemIcon
type="Marking-Definition"
color={markingDefinition.x_opencti_color ?? undefined}
/>
</ListItemIcon>
<ListItemText primary={markingDefinition.definition} />
<ListItemSecondaryAction>
Expand Down

0 comments on commit c1d49eb

Please sign in to comment.