- fixed filter for calls table;
- implemented call table async on all pages; - added applications table async;
This commit is contained in:
@@ -9,6 +9,7 @@ import ApplicationService from '../../../../service/application-service';
|
||||
// tools
|
||||
import getBandoLabel from '../../../../helpers/getBandoLabel';
|
||||
import getBandoSeverity from '../../../../helpers/getBandoSeverity';
|
||||
import getFormattedDateString from '../../../../helpers/getFormattedDateString';
|
||||
|
||||
// translation
|
||||
import translationStrings from '../../../../translationStringsForComponents';
|
||||
@@ -60,14 +61,6 @@ const AllDomandeTable = ({ openDialogFn, updaterString = '' }) => {
|
||||
});
|
||||
};
|
||||
|
||||
const formatDate = (value) => {
|
||||
return value.toLocaleDateString('it-IT', {
|
||||
day: '2-digit',
|
||||
month: '2-digit',
|
||||
year: 'numeric'
|
||||
});
|
||||
};
|
||||
|
||||
const clearFilter = () => {
|
||||
initFilters();
|
||||
};
|
||||
@@ -105,7 +98,7 @@ const AllDomandeTable = ({ openDialogFn, updaterString = '' }) => {
|
||||
};
|
||||
|
||||
const dateAppliedBodyTemplate = (rowData) => {
|
||||
return formatDate(rowData.submissionDate);
|
||||
return getFormattedDateString(rowData.submissionDate);
|
||||
};
|
||||
|
||||
const statusFilterTemplate = (options) => {
|
||||
|
||||
Reference in New Issue
Block a user