fix: subpage buttons missing

This commit is contained in:
José Oliveira 2022-01-13 16:19:48 +00:00
parent cfb360ab4e
commit 70b3445884
2 changed files with 16 additions and 12 deletions

View file

@ -279,12 +279,14 @@ const CashCassettes = () => {
<>
<TitleSection
title="Cash Boxes & Cassettes"
button={{
text: 'Cash box history',
icon: HistoryIcon,
inverseIcon: ReverseHistoryIcon,
toggle: setShowHistory
}}
buttons={[
{
text: 'Cash box history',
icon: HistoryIcon,
inverseIcon: ReverseHistoryIcon,
toggle: setShowHistory
}
]}
iconClassName={classes.listViewButton}
className={classes.tableWidth}>
{!showHistory && (

View file

@ -140,12 +140,14 @@ const Wallet = ({ name: SCREEN_KEY }) => {
<div className={classes.header}>
<TitleSection
title="Wallet Settings"
button={{
text: 'Advanced settings',
icon: SettingsIcon,
inverseIcon: ReverseSettingsIcon,
toggle: setAdvancedSettings
}}
buttons={[
{
text: 'Advanced settings',
icon: SettingsIcon,
inverseIcon: ReverseSettingsIcon,
toggle: setAdvancedSettings
}
]}
/>
<Box alignItems="center" justifyContent="end">
<Label1 className={classes.feeDiscountLabel}>Fee discount</Label1>