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

@@ -135,17 +135,16 @@ export function JobsAvailableComponent({ bodyshop, loading, data, refetch, addJo
refetch();
});
}}
>
<DeleteFilled />
</Button>
icon={<DeleteFilled />}
/>
{!isClosed && (
<>
<Button onClick={() => addJobAsNew(record)} disabled={record.issupplement}>
<PlusCircleFilled />
</Button>
<Button onClick={() => addJobAsSupp(record)}>
<DownloadOutlined />
</Button>
<Button
onClick={() => addJobAsNew(record)}
disabled={record.issupplement}
icon={<PlusCircleFilled />}
/>
<Button onClick={() => addJobAsSupp(record)} icon={<DownloadOutlined />} />
</>
)}
{isClosed && <Alert type="error" title={t("jobs.labels.alreadyclosed")}></Alert>}
@@ -175,9 +174,8 @@ export function JobsAvailableComponent({ bodyshop, loading, data, refetch, addJo
onClick={() => {
refetch();
}}
>
<SyncOutlined />
</Button>
icon={<SyncOutlined />}
/>
<Button
onClick={() => {
deleteAllAvailableJobs()