fix: dont display cashbox reset option on history page and wrong header width

This commit is contained in:
José Oliveira 2021-07-06 17:44:28 +01:00 committed by Josh Harvey
parent bf31ace25d
commit ad30468708
2 changed files with 17 additions and 15 deletions

View file

@ -254,6 +254,7 @@ const CashCassettes = () => {
}}
iconClassName={classes.listViewButton}
className={classes.tableWidth}>
{!showHistory && (
<Box alignItems="center" justifyContent="end">
<Label1 className={classes.cashboxReset}>Cashbox reset</Label1>
<Box
@ -269,6 +270,7 @@ const CashCassettes = () => {
</IconButton>
</Box>
</Box>
)}
</TitleSection>
<div className={classes.tableContainer}>
{!showHistory && (

View file

@ -16,7 +16,7 @@ export default {
tableWidth: {
display: 'flex',
alignItems: 'center',
marginRight: 90
marginRight: 1
},
descriptions: {
color: offColor,