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}
|
||||
className={classes.tableWidth}>
|
||||
<Box alignItems="center" justifyContent="end">
|
||||
<Label1 className={classes.cashboxReset}>Cashbox reset</Label1>
|
||||
<Box
|
||||
display="flex"
|
||||
alignItems="center"
|
||||
justifyContent="end"
|
||||
mr="-4px">
|
||||
<P className={classes.selection}>{cashboxReset}</P>
|
||||
<IconButton
|
||||
onClick={() => setEditingSchema(true)}
|
||||
className={classes.button}>
|
||||
<EditIcon />
|
||||
</IconButton>
|
||||
{!showHistory && (
|
||||
<Box alignItems="center" justifyContent="end">
|
||||
<Label1 className={classes.cashboxReset}>Cashbox reset</Label1>
|
||||
<Box
|
||||
display="flex"
|
||||
alignItems="center"
|
||||
justifyContent="end"
|
||||
mr="-4px">
|
||||
<P className={classes.selection}>{cashboxReset}</P>
|
||||
<IconButton
|
||||
onClick={() => setEditingSchema(true)}
|
||||
className={classes.button}>
|
||||
<EditIcon />
|
||||
</IconButton>
|
||||
</Box>
|
||||
</Box>
|
||||
</Box>
|
||||
)}
|
||||
</TitleSection>
|
||||
<div className={classes.tableContainer}>
|
||||
{!showHistory && (
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ export default {
|
|||
tableWidth: {
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
marginRight: 90
|
||||
marginRight: 1
|
||||
},
|
||||
descriptions: {
|
||||
color: offColor,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue