Merge pull request #1042 from josepfo/fix/subpage-buttons-missing
fix: subpage buttons missing
This commit is contained in:
commit
451c3868de
2 changed files with 16 additions and 12 deletions
|
|
@ -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 && (
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue