diff --git a/package-lock.json b/package-lock.json index 38b9763..8d40960 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ucentral-client", - "version": "2.6.1", + "version": "2.6.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ucentral-client", - "version": "2.6.1", + "version": "2.6.2", "dependencies": { "@coreui/coreui": "^3.4.0", "@coreui/icons": "^2.0.1", diff --git a/package.json b/package.json index f5b189b..679e752 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ucentral-client", - "version": "2.6.1", + "version": "2.6.2", "dependencies": { "@coreui/coreui": "^3.4.0", "@coreui/icons": "^2.0.1", diff --git a/src/components/ConfigurationDisplay/index.js b/src/components/ConfigurationDisplay/index.js index bbab63c..106a647 100644 --- a/src/components/ConfigurationDisplay/index.js +++ b/src/components/ConfigurationDisplay/index.js @@ -37,7 +37,7 @@ const ConfigurationDisplay = ({ getData, deviceConfig }) => { diff --git a/src/components/InterfaceStatistics/LatestStatisticsModal.js b/src/components/InterfaceStatistics/LatestStatisticsModal.js index 89a0b61..5b510f3 100644 --- a/src/components/InterfaceStatistics/LatestStatisticsModal.js +++ b/src/components/InterfaceStatistics/LatestStatisticsModal.js @@ -5,7 +5,7 @@ import { cilX } from '@coreui/icons'; import PropTypes from 'prop-types'; import { useTranslation } from 'react-i18next'; import axiosInstance from 'utils/axiosInstance'; -import { useAuth, useDevice } from 'ucentral-libs'; +import { useAuth, useDevice, CopyToClipboardButton } from 'ucentral-libs'; const LatestStatisticsModal = ({ show, toggle }) => { const { t } = useTranslation(); @@ -51,6 +51,13 @@ const LatestStatisticsModal = ({ show, toggle }) => { + + + {JSON.stringify(latestStats, null, 2)}
{JSON.stringify(latestStats, null, 2)}