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

@@ -121,9 +121,12 @@ export function JobNotesComponent({
width: 200,
render: (text, record) => (
<Space wrap>
<Button loading={deleteLoading} disabled={record.audit || jobRO} onClick={() => handleNoteDelete(record.id)}>
<DeleteFilled />
</Button>
<Button
loading={deleteLoading}
disabled={record.audit || jobRO}
onClick={() => handleNoteDelete(record.id)}
icon={<DeleteFilled />}
/>
<Button
disabled={record.audit || jobRO}
onClick={() => {
@@ -135,9 +138,8 @@ export function JobNotesComponent({
}
});
}}
>
<EditFilled />
</Button>
icon={<EditFilled />}
/>
<PrintWrapperComponent
templateObject={{
name: Templates.individual_job_note.key,