From 1e75bdc6a8ced2b0818538b28f3c1edf4f85f6df Mon Sep 17 00:00:00 2001 From: Vitalii Kiiko Date: Mon, 14 Apr 2025 10:37:06 +0200 Subject: [PATCH] - commented out importing static config; --- src/pages/BandoFormsEdit/index.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/pages/BandoFormsEdit/index.js b/src/pages/BandoFormsEdit/index.js index 8c5eb94..3a8d8bc 100644 --- a/src/pages/BandoFormsEdit/index.js +++ b/src/pages/BandoFormsEdit/index.js @@ -192,7 +192,8 @@ const BandoFormsEdit = () => { defaultFocus: 'reject', acceptClassName: 'p-button-danger', accept: doDelete, - reject: () => {} + reject: () => { + } }); }; @@ -254,7 +255,7 @@ const BandoFormsEdit = () => { if (data.status === 'SUCCESS') { setBandoStatus(data.data.status); const criteria = pathOr([], ['data', 'criteria'], data); - const criteriaOptions = criteria.map(o => ({value: o.id, label: o.value})); + const criteriaOptions = criteria.map(o => ({ value: o.id, label: o.value })); storeSet('bandoCriteria', criteriaOptions); } } @@ -265,7 +266,7 @@ const BandoFormsEdit = () => { const getCategories = (resp) => { if (resp.status === 'SUCCESS') { - storeSet('documentCategories', resp.data.map(o => ({value: o.id, label: o.description}))); + storeSet('documentCategories', resp.data.map(o => ({ value: o.id, label: o.description }))); } } @@ -324,7 +325,7 @@ const BandoFormsEdit = () => { accept={acceptModification} acceptLabel={__('Si', 'gepafin')} reject={rejectModification} - style={{ maxWidth: '500px' }} /> + style={{ maxWidth: '500px' }}/>
@@ -346,7 +347,7 @@ const BandoFormsEdit = () => {
- +
- +