fix: dont display cashbox reset option on history page and wrong header width
This commit is contained in:
parent
bf31ace25d
commit
ad30468708
2 changed files with 17 additions and 15 deletions
|
|
@ -254,21 +254,23 @@ const CashCassettes = () => {
|
||||||
}}
|
}}
|
||||||
iconClassName={classes.listViewButton}
|
iconClassName={classes.listViewButton}
|
||||||
className={classes.tableWidth}>
|
className={classes.tableWidth}>
|
||||||
<Box alignItems="center" justifyContent="end">
|
{!showHistory && (
|
||||||
<Label1 className={classes.cashboxReset}>Cashbox reset</Label1>
|
<Box alignItems="center" justifyContent="end">
|
||||||
<Box
|
<Label1 className={classes.cashboxReset}>Cashbox reset</Label1>
|
||||||
display="flex"
|
<Box
|
||||||
alignItems="center"
|
display="flex"
|
||||||
justifyContent="end"
|
alignItems="center"
|
||||||
mr="-4px">
|
justifyContent="end"
|
||||||
<P className={classes.selection}>{cashboxReset}</P>
|
mr="-4px">
|
||||||
<IconButton
|
<P className={classes.selection}>{cashboxReset}</P>
|
||||||
onClick={() => setEditingSchema(true)}
|
<IconButton
|
||||||
className={classes.button}>
|
onClick={() => setEditingSchema(true)}
|
||||||
<EditIcon />
|
className={classes.button}>
|
||||||
</IconButton>
|
<EditIcon />
|
||||||
|
</IconButton>
|
||||||
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
</Box>
|
)}
|
||||||
</TitleSection>
|
</TitleSection>
|
||||||
<div className={classes.tableContainer}>
|
<div className={classes.tableContainer}>
|
||||||
{!showHistory && (
|
{!showHistory && (
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ export default {
|
||||||
tableWidth: {
|
tableWidth: {
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
marginRight: 90
|
marginRight: 1
|
||||||
},
|
},
|
||||||
descriptions: {
|
descriptions: {
|
||||||
color: offColor,
|
color: offColor,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue