- added modal window for sviluppumbria;
This commit is contained in:
@@ -8,13 +8,10 @@ import { useStoreValue, storeSet } from '../../store';
|
|||||||
// components
|
// components
|
||||||
import AppSidebar from './components/AppSidebar';
|
import AppSidebar from './components/AppSidebar';
|
||||||
import AppTopbar from './components/AppTopbar';
|
import AppTopbar from './components/AppTopbar';
|
||||||
import { pathOr } from 'ramda';
|
|
||||||
|
|
||||||
const DefaultLayout = ({ children }) => {
|
const DefaultLayout = ({ children }) => {
|
||||||
const isError404 = useStoreValue('isError404');
|
const isError404 = useStoreValue('isError404');
|
||||||
const location = useLocation();
|
const location = useLocation();
|
||||||
const userData = useStoreValue('userData');
|
|
||||||
const role = pathOr('', ['role', 'roleType'], userData);
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
storeSet('isError404', false);
|
storeSet('isError404', false);
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ const BandoViewBeneficiario = () => {
|
|||||||
const [isVisibleConfidiPopup, setIsVisibleConfidiPopup] = useState(false);
|
const [isVisibleConfidiPopup, setIsVisibleConfidiPopup] = useState(false);
|
||||||
const bandoMsgs = useRef(null);
|
const bandoMsgs = useRef(null);
|
||||||
const toast = useRef(null);
|
const toast = useRef(null);
|
||||||
|
const [visible, setVisible] = useState(false);
|
||||||
|
|
||||||
const displayConfidiPopup = () => {
|
const displayConfidiPopup = () => {
|
||||||
setIsVisibleConfidiPopup(true);
|
setIsVisibleConfidiPopup(true);
|
||||||
@@ -340,6 +341,9 @@ const BandoViewBeneficiario = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
if (parseInt(id) === 21) {
|
||||||
|
setVisible(true);
|
||||||
|
}
|
||||||
if (!isEmpty(chosenCompanyId) && chosenCompanyId !== 0) {
|
if (!isEmpty(chosenCompanyId) && chosenCompanyId !== 0) {
|
||||||
const bandoId = getBandoId();
|
const bandoId = getBandoId();
|
||||||
storeSet('setAsyncRequest');
|
storeSet('setAsyncRequest');
|
||||||
@@ -594,6 +598,12 @@ const BandoViewBeneficiario = () => {
|
|||||||
<p>{__('Telefono', 'gepafin')}: +39 {data.phoneNumber}</p> : null}
|
<p>{__('Telefono', 'gepafin')}: +39 {data.phoneNumber}</p> : null}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<Dialog header="CHIUSURA ANTICIPATA DELL'AVVISO AVVISO FIERE 2025" visible={visible} style={{ width: '50vw' }} onHide={() => {if (!visible) return; setVisible(false); }}>
|
||||||
|
<p className="m-0">
|
||||||
|
Per esaurimento delle risorse disponibili, ai sensi dell'art. 9 dell'avviso pubblico Fiere 2025, come da determinazione della REGIONE UMBRIA con D.D. N. 9277 DEL 05/09/2025 è stata disposta la chiusura anticipata al 12/09/2025 - ore 12.00 per la compilazione ed invio della domanda di ammissione alle agevolazioni a valere sull'avviso pubblico Fiere 2025
|
||||||
|
</p>
|
||||||
|
</Dialog>
|
||||||
</div>
|
</div>
|
||||||
: <>
|
: <>
|
||||||
<Skeleton width="20%" height="1rem" className="mb-2"></Skeleton>
|
<Skeleton width="20%" height="1rem" className="mb-2"></Skeleton>
|
||||||
|
|||||||
Reference in New Issue
Block a user