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 <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 && (

View file

@ -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>