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: {
background: theme.palette.background.paper,
height: "100vh",
overflow: "hidden",
padding: 25
},
popover: {

View file

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