- save progress;

This commit is contained in:
Vitalii Kiiko
2024-10-24 15:41:34 +02:00
11 changed files with 114 additions and 115 deletions

View File

@@ -125,10 +125,14 @@ const AllDomandeTable = ({ openDialogFn }) => {
};
const actionsBodyTemplate = (rowData) => {
return <Button severity="info"
return openDialogFn
? <Button severity="info"
onClick={() => openDialogFn(rowData.id)}
label={__('Assegnare', 'gepafin')}
icon="pi pi-pencil" size="small" iconPos="right" />
: <Link to={'/domande'}>
<Button severity="info" label={__('Gestire', 'gepafin')} size="small" />
</Link>
}
const header = renderHeader();