@@ -391,13 +398,14 @@ const BandoViewBeneficiario = () => {
icon="pi pi-download" iconPos="right"/>*/}
diff --git a/src/pages/DashboardBeneficiario/components/LatestBandiTable/index.js b/src/pages/DashboardBeneficiario/components/LatestBandiTable/index.js
index f48b208..6f48e99 100644
--- a/src/pages/DashboardBeneficiario/components/LatestBandiTable/index.js
+++ b/src/pages/DashboardBeneficiario/components/LatestBandiTable/index.js
@@ -1,4 +1,4 @@
-import React, { useState, useEffect} from 'react';
+import React, { useState, useEffect } from 'react';
import { __ } from '@wordpress/i18n';
import { uniq } from 'ramda';
import { Link } from 'react-router-dom';
@@ -130,14 +130,19 @@ const LatestBandiTable = () => {
};
const actionsBodyTemplate = (rowData) => {
- return
-
-
+ return rowData.confidi
+ ?
+
+
+ :
+
+
}
const header = renderHeader();
- return(
+ return (
{
{'DRAFT' === rowData.status
?
- : }
}
diff --git a/src/pages/Domande/components/AllDomandeTable/index.js b/src/pages/Domande/components/AllDomandeTable/index.js
index c6b9d82..0753d54 100644
--- a/src/pages/Domande/components/AllDomandeTable/index.js
+++ b/src/pages/Domande/components/AllDomandeTable/index.js
@@ -21,7 +21,7 @@ import { Calendar } from 'primereact/calendar';
import ProperBandoLabel from '../../../../components/ProperBandoLabel';
-const AllDomandeTable = () => {
+const AllDomandeTable = ({ openDialogFn }) => {
const [items, setItems] = useState(null);
const [filters, setFilters] = useState(null);
const [localAsyncRequest, setLocalAsyncRequest] = useState(false);
@@ -125,9 +125,10 @@ const AllDomandeTable = () => {
};
const actionsBodyTemplate = (rowData) => {
- return
-
-
+ return