fix: subpage buttons missing
This commit is contained in:
parent
cfb360ab4e
commit
70b3445884
2 changed files with 16 additions and 12 deletions
|
|
@ -279,12 +279,14 @@ const CashCassettes = () => {
|
||||||
<>
|
<>
|
||||||
<TitleSection
|
<TitleSection
|
||||||
title="Cash Boxes & Cassettes"
|
title="Cash Boxes & Cassettes"
|
||||||
button={{
|
buttons={[
|
||||||
text: 'Cash box history',
|
{
|
||||||
icon: HistoryIcon,
|
text: 'Cash box history',
|
||||||
inverseIcon: ReverseHistoryIcon,
|
icon: HistoryIcon,
|
||||||
toggle: setShowHistory
|
inverseIcon: ReverseHistoryIcon,
|
||||||
}}
|
toggle: setShowHistory
|
||||||
|
}
|
||||||
|
]}
|
||||||
iconClassName={classes.listViewButton}
|
iconClassName={classes.listViewButton}
|
||||||
className={classes.tableWidth}>
|
className={classes.tableWidth}>
|
||||||
{!showHistory && (
|
{!showHistory && (
|
||||||
|
|
|
||||||
|
|
@ -140,12 +140,14 @@ const Wallet = ({ name: SCREEN_KEY }) => {
|
||||||
<div className={classes.header}>
|
<div className={classes.header}>
|
||||||
<TitleSection
|
<TitleSection
|
||||||
title="Wallet Settings"
|
title="Wallet Settings"
|
||||||
button={{
|
buttons={[
|
||||||
text: 'Advanced settings',
|
{
|
||||||
icon: SettingsIcon,
|
text: 'Advanced settings',
|
||||||
inverseIcon: ReverseSettingsIcon,
|
icon: SettingsIcon,
|
||||||
toggle: setAdvancedSettings
|
inverseIcon: ReverseSettingsIcon,
|
||||||
}}
|
toggle: setAdvancedSettings
|
||||||
|
}
|
||||||
|
]}
|
||||||
/>
|
/>
|
||||||
<Box alignItems="center" justifyContent="end">
|
<Box alignItems="center" justifyContent="end">
|
||||||
<Label1 className={classes.feeDiscountLabel}>Fee discount</Label1>
|
<Label1 className={classes.feeDiscountLabel}>Fee discount</Label1>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue