- Merge release

Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
Dave Richer
2024-03-14 14:57:59 -04:00
20 changed files with 2501 additions and 188 deletions

View File

@@ -100,8 +100,7 @@ export function PartsQueueListComponent({bodyshop}) {
};
const handleOnRowClick = (record) => {
if (record) {
if (record.id) {
if (record?.id) {
history({
search: queryString.stringify({
...searchParams,
@@ -109,7 +108,6 @@ export function PartsQueueListComponent({bodyshop}) {
}),
});
}
}
};
const columns = [
{
@@ -354,7 +352,15 @@ export function PartsQueueListComponent({bodyshop}) {
},
selectedRowKeys: [selected],
type: "radio",
}}/>
}}
onRow={(record, rowIndex) => {
return {
onClick: (event) => {
handleOnRowClick(record);
},
};
}}
/>
</Card>
);
}