- updated sviluppumbria logo;
- updated templates for pre instructor;
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
import React, { useState, useEffect} from 'react';
|
||||
import { __ } from '@wordpress/i18n';
|
||||
import { is, uniq } from 'ramda';
|
||||
import { Link } from 'react-router-dom';
|
||||
|
||||
// store
|
||||
//import { storeSet, storeGet } from '../../../../store';
|
||||
import { useStore } from '../../../../store';
|
||||
|
||||
// api
|
||||
//import ApplicationService from '../../../../service/application-service';
|
||||
import AssignedApplicationService from '../../../../service/assigned-application-service';
|
||||
|
||||
// components
|
||||
import { FilterMatchMode, FilterOperator } from 'primereact/api';
|
||||
@@ -18,8 +19,6 @@ import { InputIcon } from 'primereact/inputicon';
|
||||
import { Button } from 'primereact/button';
|
||||
import { Calendar } from 'primereact/calendar';
|
||||
import ProperBandoLabel from '../../../../components/ProperBandoLabel';
|
||||
import AssignedApplicationService from '../../../../service/assigned-application-service';
|
||||
import { useStore } from '../../../../store';
|
||||
|
||||
|
||||
const PreInstructorDomandeTable = () => {
|
||||
@@ -128,10 +127,13 @@ const PreInstructorDomandeTable = () => {
|
||||
};
|
||||
|
||||
const actionsBodyTemplate = (rowData) => {
|
||||
return <Button severity="info"
|
||||
/*return <Button severity="info"
|
||||
onClick={() => createEvaluation(rowData.id)}
|
||||
label={__('Valuta', 'gepafin')}
|
||||
icon="pi pi-pencil" size="small" iconPos="right" />
|
||||
icon="pi pi-pencil" size="small" iconPos="right" />*/
|
||||
return <Link to={`/domande/${rowData.id}`}>
|
||||
<Button severity="info" label={__('Valuta', 'gepafin')} icon="pi pi-eye" size="small" iconPos="right"/>
|
||||
</Link>
|
||||
}
|
||||
|
||||
const header = renderHeader();
|
||||
|
||||
@@ -20,7 +20,7 @@ const DashboardPreInstructor = () => {
|
||||
//const [mainStats, setMainStats] = useState({});
|
||||
|
||||
const goToAllEvaluations = () => {
|
||||
navigate('/valutazioni');
|
||||
navigate('/domande');
|
||||
}
|
||||
|
||||
return(
|
||||
|
||||
Reference in New Issue
Block a user