Minor fixes
This commit is contained in:
parent
d9ce2cd392
commit
01c28e08d2
2 changed files with 18 additions and 18 deletions
|
@ -204,6 +204,7 @@ const styles = (theme: Theme) =>
|
|||
menuSmall: {
|
||||
background: theme.palette.background.paper,
|
||||
height: "100vh",
|
||||
overflow: "hidden",
|
||||
padding: 25
|
||||
},
|
||||
popover: {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue