- saving progress;
This commit is contained in:
@@ -23,7 +23,7 @@ import { Dropdown } from 'primereact/dropdown';
|
||||
import { Tag } from 'primereact/tag';
|
||||
import { Calendar } from 'primereact/calendar';
|
||||
|
||||
const AllDomandeTableAsync = ({ openDialogFn, updaterString = '' }) => {
|
||||
const AllDomandeTableAsync = ({ openDialogFn, updaterString = '', disableActions = false }) => {
|
||||
const location = useLocation();
|
||||
const [localAsyncRequest, setLocalAsyncRequest] = useState(false);
|
||||
const [items, setItems] = useState(null);
|
||||
@@ -216,8 +216,9 @@ const AllDomandeTableAsync = ({ openDialogFn, updaterString = '' }) => {
|
||||
filterMatchModeOptions={translationStrings.statusFilterOptions}
|
||||
style={{ minWidth: '8rem' }}
|
||||
body={statusBodyTemplate}/>
|
||||
<Column header={__('Azioni', 'gepafin')}
|
||||
body={actionsBodyTemplate}/>
|
||||
{!disableActions
|
||||
? <Column header={__('Azioni', 'gepafin')}
|
||||
body={actionsBodyTemplate}/> : null}
|
||||
</DataTable>
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user