Minor fixes

This commit is contained in:
dominik-zeglen 2019-09-02 12:04:39 +02:00
parent d9ce2cd392
commit 01c28e08d2
2 changed files with 18 additions and 18 deletions

View file

@ -204,6 +204,7 @@ const styles = (theme: Theme) =>
menuSmall: { menuSmall: {
background: theme.palette.background.paper, background: theme.palette.background.paper,
height: "100vh", height: "100vh",
overflow: "hidden",
padding: 25 padding: 25
}, },
popover: { popover: {

View file

@ -101,8 +101,7 @@ const TableHead = withStyles(styles, {
})} })}
/> />
)} )}
{(items === undefined || items.length > 0) && {(items === undefined || items.length > 0) && (
(selected && (
<TableCell <TableCell
padding="checkbox" padding="checkbox"
className={classNames({ className={classNames({
@ -120,7 +119,7 @@ const TableHead = withStyles(styles, {
onChange={() => toggleAll(items, selected)} onChange={() => toggleAll(items, selected)}
/> />
</TableCell> </TableCell>
))} )}
{selected ? ( {selected ? (
<> <>
<TableCell <TableCell