feature/IO-3499-React-19 - The great button refactor of 2026

This commit is contained in:
Dave
2026-01-23 20:37:16 -05:00
parent 9475dfb4e8
commit 9a93a43642
66 changed files with 163 additions and 267 deletions

View File

@@ -144,6 +144,7 @@ export function PaymentsListPaginated({
render: (text, record) => (
<Space>
<Button
icon={<EditFilled />}
// disabled={record.exportedat}
onClick={async () => {
let apolloResults;
@@ -174,9 +175,7 @@ export function PaymentsListPaginated({
context: { ...(apolloResults ? apolloResults : record), refetchRequiresContext: true }
});
}}
>
<EditFilled />
</Button>
/>
<PrintWrapperComponent
templateObject={{
name: Templates.payment_receipt.key,
@@ -245,9 +244,7 @@ export function PaymentsListPaginated({
<Button onClick={() => setCaBcEtfTableContext()}>{t("payments.labels.ca_bc_etf_table")}</Button>
</>
)}
<Button onClick={() => refetch()}>
<SyncOutlined />
</Button>
<Button onClick={() => refetch()} icon={<SyncOutlined />} />
<Input.Search
placeholder={search.search || t("general.labels.search")}
onSearch={(value) => {