Merge pull request #1900 from RafaelTaranto/fix/duplicated-empty-table-on-cash-units

LAM-1475 fix: duplicated empty table on cash units
This commit is contained in:
Rafael Taranto 2025-06-30 12:53:45 +01:00 committed by GitHub
commit f49b8f4f46

View file

@ -16,7 +16,6 @@ import HistoryIcon from '../../styling/icons/circle buttons/history/zodiac.svg?r
import { Button, SupportLinkButton } from '../../components/buttons'
import { RadioGroup } from '../../components/inputs'
import { EmptyTable } from '../../components/table'
import { fromNamespace, toNamespace } from '../../utils/config'
import { MANUAL, AUTOMATIC } from '../../utils/constants'
import { onlyFirstToUpper } from '../../utils/string'
@ -273,10 +272,6 @@ const CashCassettes = () => {
expandable
tableClassName="mb-20"
/>
{data && R.isEmpty(machines) && (
<EmptyTable message="No machines so far" />
)}
</>
)}
{showHistory && (