- updated version;

This commit is contained in:
Vitalii Kiiko
2024-09-05 17:15:57 +02:00
parent d2a28bea1b
commit 4054745695
33 changed files with 516 additions and 296 deletions

View File

@@ -52,7 +52,7 @@ const BandoEdit = () => {
bandoMsgs.current.show([
{
id: '98',
sticky: true, severity: 'error', summary: 'Error',
sticky: true, severity: 'error', summary: '',
detail: __('Potrai andare su altro step dopo risolvere errori della forma', 'gepafin'),
closable: true
}
@@ -77,7 +77,7 @@ const BandoEdit = () => {
bandoMsgs.current.show([
{
id: '98',
sticky: true, severity: 'error', summary: 'Error',
sticky: true, severity: 'error', summary: '',
detail: __('Potrai andare su altro step dopo risolvere errori della forma', 'gepafin'),
closable: true
}
@@ -92,11 +92,11 @@ const BandoEdit = () => {
}
const openBandoFormManagement = () => {
navigate(`/bandi/${id}/forms`);
navigate(`/tenders/${id}/forms`);
}
const openBandoFlowManagement = () => {
navigate(`/bandi/${id}/flow`);
navigate(`/tenders/${id}/flow`);
}
const validateBando = () => {
@@ -162,7 +162,7 @@ const BandoEdit = () => {
bandoMsgs.current.show([
{
id: '1',
sticky: true, severity: 'info', summary: 'Info',
sticky: true, severity: 'info', summary: '',
detail: __('Potrai pubblicare il tuo Bando.', 'gepafin'),
closable: false
}
@@ -173,7 +173,7 @@ const BandoEdit = () => {
bandoMsgs.current.show([
{
id: '1',
sticky: true, severity: 'info', summary: 'Info',
sticky: true, severity: 'info', summary: '',
detail: __('Potrai pubblicare il tuo Bando solo dopo aver completato tutti i campi obbligatori contrassegnati dagli asterischi.', 'gepafin'),
closable: false
}
@@ -195,7 +195,7 @@ const BandoEdit = () => {
if (bandoMsgs.current && data.message) {
bandoMsgs.current.show([
{
sticky: true, severity: 'error', summary: 'Error',
sticky: true, severity: 'error', summary: '',
detail: data.message,
closable: true
}
@@ -230,7 +230,7 @@ const BandoEdit = () => {
bandoMsgs.current.show([
{
id: '1',
sticky: true, severity: 'info', summary: 'Info',
sticky: true, severity: 'info', summary: '',
detail: __('Potrai pubblicare il tuo Bando solo dopo aver completato tutti i campi obbligatori contrassegnati dagli asterischi.', 'gepafin'),
closable: false
}