ColumnMenu style fixes

This commit is contained in:
Sidney Alcantara
2020-04-17 10:58:35 +10:00
parent e33dbc65fa
commit 34274953a6
2 changed files with 3 additions and 9 deletions

View File

@@ -51,10 +51,8 @@ const useStyles = makeStyles(theme =>
menuItemError: {
color: theme.palette.error.main,
"&:hover": {
backgroundColor: fade(
theme.palette.error.main,
theme.palette.action.hoverOpacity
),
backgroundColor: theme.palette.error.main,
color: theme.palette.error.contrastText,
},
},
})
@@ -73,7 +71,6 @@ export interface IMenuContentsProps {
}[];
}
// TODO: implement active states and actions
export default function MenuContents({ menuItems }: IMenuContentsProps) {
const classes = useStyles();

View File

@@ -82,10 +82,7 @@ export default function ColumnMenu() {
const menuItems = [
{
type: "subheader",
label:
column.name === column?.key
? column.name
: (`${column.name}(${column?.key as string})` as string),
label: column.name,
},
{
label: "Lock",