diff --git a/src/helpers/getBandoLabel.js b/src/helpers/getBandoLabel.js
index 9c8af0f..1816a42 100644
--- a/src/helpers/getBandoLabel.js
+++ b/src/helpers/getBandoLabel.js
@@ -29,6 +29,9 @@ const getBandoLabel = (status) => {
case 'ADMISSIBLE':
return __('Ammisibile', 'gepafin');
+ case 'RESPONSE_RECEIVED':
+ return __('Riposta ricevuta', 'gepafin');
+
case 'SOCCORSO':
return __('Soccorso', 'gepafin');
diff --git a/src/helpers/getBandoSeverity.js b/src/helpers/getBandoSeverity.js
index 9b9d16c..d6c4dbf 100644
--- a/src/helpers/getBandoSeverity.js
+++ b/src/helpers/getBandoSeverity.js
@@ -27,6 +27,9 @@ const getBandoSeverity = (status) => {
case 'ADMISSIBLE':
return 'info';
+ case 'RESPONSE_RECEIVED':
+ return 'warning';
+
case 'SOCCORSO':
return 'warning';
diff --git a/src/pages/Applications/index.js b/src/pages/Applications/index.js
index 21aaf42..ed42683 100644
--- a/src/pages/Applications/index.js
+++ b/src/pages/Applications/index.js
@@ -4,7 +4,7 @@ import { useNavigate } from 'react-router-dom';
import { head } from 'ramda';
// store
-import { storeGet, useStore } from '../../store';
+import { useStore } from '../../store';
// components
import MyLatestSubmissionsTable from '../DashboardBeneficiario/components/MyLatestSubmissionsTable';
diff --git a/src/pages/Dashboard/components/DraftApplicationsTable/index.js b/src/pages/Dashboard/components/DraftApplicationsTable/index.js
index acaec4b..c41abb0 100644
--- a/src/pages/Dashboard/components/DraftApplicationsTable/index.js
+++ b/src/pages/Dashboard/components/DraftApplicationsTable/index.js
@@ -42,7 +42,7 @@ const DraftApplicationsTable = () => {
if (data.status === 'SUCCESS') {
if (is(Array, data.data)) {
setItems(getFormattedBandiData(data.data));
- setStatuses(uniq(items.map(o => o.status)))
+ setStatuses(uniq(data.data.map(o => o.status)))
initFilters();
}
}
diff --git a/src/pages/DomandaEditPreInstructor/components/RepeaterFields/index.js b/src/pages/DomandaEditPreInstructor/components/RepeaterFields/index.js
index 7a24f29..d6249d9 100644
--- a/src/pages/DomandaEditPreInstructor/components/RepeaterFields/index.js
+++ b/src/pages/DomandaEditPreInstructor/components/RepeaterFields/index.js
@@ -19,6 +19,7 @@ const RepeaterFields = ({
updateCallbackFn = () => {
},
defaultValue = [],
+ shouldDisable = false
}) => {
const [chosen, setChosen] = useState('');
const {
@@ -92,6 +93,7 @@ const RepeaterFields = ({
setNewChosen(o.fieldId)}>{o.nameValue}
@@ -762,7 +766,8 @@ const DomandaEditPreInstructor = () => {
{['EVALUATION', 'SOCCORSO', 'CLOSE'].includes(data.applicationStatus)
?