diff --git a/Plan/react/dashboard/src/components/cards/common/PingTableCard.js b/Plan/react/dashboard/src/components/cards/common/PingTableCard.js index d91485d636..8fe82e506f 100644 --- a/Plan/react/dashboard/src/components/cards/common/PingTableCard.js +++ b/Plan/react/dashboard/src/components/cards/common/PingTableCard.js @@ -3,12 +3,14 @@ import {Card} from "react-bootstrap"; import CardHeader from "../CardHeader"; import {faWifi} from "@fortawesome/free-solid-svg-icons"; import PingTable from "../../table/PingTable"; +import {ChartLoader} from "../../navigation/Loader"; const PingTableCard = ({data}) => { return ( - + {data && } + {!data && } ) }; diff --git a/Plan/react/dashboard/src/components/table/PingTable.js b/Plan/react/dashboard/src/components/table/PingTable.js index 43843e453f..00f0adc79e 100644 --- a/Plan/react/dashboard/src/components/table/PingTable.js +++ b/Plan/react/dashboard/src/components/table/PingTable.js @@ -30,7 +30,7 @@ const PingTable = ({countries}) => { - {countries.length ? countries.map((country, i) => ) : + {countries.length ? countries.map(country => ) : {t('generic.noData')} - -