- added exception for #23;
This commit is contained in:
@@ -29,6 +29,8 @@ import { Calendar } from 'primereact/calendar';
|
||||
import { confirmPopup, ConfirmPopup } from 'primereact/confirmpopup';
|
||||
import { ProgressBar } from 'primereact/progressbar';
|
||||
|
||||
const REACT_APP_HUB_ID = process.env.REACT_APP_HUB_ID;
|
||||
|
||||
const MyLatestSubmissionsTableAsync = () => {
|
||||
const chosenCompanyId = useStoreValue('chosenCompanyId');
|
||||
const [localAsyncRequest, setLocalAsyncRequest] = useState(false);
|
||||
@@ -50,6 +52,9 @@ const MyLatestSubmissionsTableAsync = () => {
|
||||
status: { value: null, matchMode: 'equals' }
|
||||
}
|
||||
});
|
||||
const colBandoLabel = REACT_APP_HUB_ID === 't7jh5wfg9QXylNaTZkPoE'
|
||||
? __('Bando', 'gepafin')
|
||||
: __('Bandi e modello AR1', 'gepafin');
|
||||
|
||||
const statuses = ['DRAFT', 'AWAITING', 'READY'];
|
||||
|
||||
@@ -212,7 +217,7 @@ const MyLatestSubmissionsTableAsync = () => {
|
||||
onSort={onSort} sortField={lazyState.sortField} sortOrder={lazyState.sortOrder}
|
||||
onFilter={onFilter} filters={lazyState.filters} loading={localAsyncRequest}
|
||||
emptyMessage={translationStrings.emptyMessage}>
|
||||
<Column field="callTitle" header={__('Bando', 'gepafin')}
|
||||
<Column field="callTitle" header={colBandoLabel}
|
||||
filterField="callTitle" filter
|
||||
filterMatchModeOptions={translationStrings.textFilterOptions}
|
||||
filterPlaceholder={__('Cerca il nome', 'gepafin')}
|
||||
|
||||
Reference in New Issue
Block a user