Merge pull request #60 from stephb9959/main

Version 2.3.12
This commit is contained in:
Charles
2021-11-02 16:42:57 -04:00
committed by GitHub
9 changed files with 18 additions and 18 deletions

18
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "ucentral-client", "name": "ucentral-client",
"version": "2.3.11", "version": "2.3.12",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "ucentral-client", "name": "ucentral-client",
"version": "2.3.11", "version": "2.3.12",
"dependencies": { "dependencies": {
"@coreui/coreui": "^3.4.0", "@coreui/coreui": "^3.4.0",
"@coreui/icons": "^2.0.1", "@coreui/icons": "^2.0.1",
@@ -32,7 +32,7 @@
"react-tooltip": "^4.2.21", "react-tooltip": "^4.2.21",
"react-widgets": "^5.1.1", "react-widgets": "^5.1.1",
"sass": "^1.35.1", "sass": "^1.35.1",
"ucentral-libs": "^1.0.5", "ucentral-libs": "^1.0.8",
"uuid": "^8.3.2" "uuid": "^8.3.2"
}, },
"devDependencies": { "devDependencies": {
@@ -14842,9 +14842,9 @@
} }
}, },
"node_modules/ucentral-libs": { "node_modules/ucentral-libs": {
"version": "1.0.5", "version": "1.0.8",
"resolved": "https://registry.npmjs.org/ucentral-libs/-/ucentral-libs-1.0.5.tgz", "resolved": "https://registry.npmjs.org/ucentral-libs/-/ucentral-libs-1.0.8.tgz",
"integrity": "sha512-AI/opiiwxivcKDmXlnKKEHsFb2lBruzCb2e8BEXGsZ2ECtCQRj4tnvoxuejc1H8PLUyU2uT0UAnNFkCm4QwMGA==", "integrity": "sha512-ML2Q3isAbGhs3jLXy48wjrpyWfUZO4Bc1nvH+2DK+ptsyHURwfYWXjPQAakEKi2HDSRIztT2w9+ihCwKNaW4Mg==",
"dependencies": { "dependencies": {
"@coreui/coreui": "^3.4.0", "@coreui/coreui": "^3.4.0",
"@coreui/icons": "^2.0.1", "@coreui/icons": "^2.0.1",
@@ -27716,9 +27716,9 @@
} }
}, },
"ucentral-libs": { "ucentral-libs": {
"version": "1.0.5", "version": "1.0.8",
"resolved": "https://registry.npmjs.org/ucentral-libs/-/ucentral-libs-1.0.5.tgz", "resolved": "https://registry.npmjs.org/ucentral-libs/-/ucentral-libs-1.0.8.tgz",
"integrity": "sha512-AI/opiiwxivcKDmXlnKKEHsFb2lBruzCb2e8BEXGsZ2ECtCQRj4tnvoxuejc1H8PLUyU2uT0UAnNFkCm4QwMGA==", "integrity": "sha512-ML2Q3isAbGhs3jLXy48wjrpyWfUZO4Bc1nvH+2DK+ptsyHURwfYWXjPQAakEKi2HDSRIztT2w9+ihCwKNaW4Mg==",
"requires": { "requires": {
"@coreui/coreui": "^3.4.0", "@coreui/coreui": "^3.4.0",
"@coreui/icons": "^2.0.1", "@coreui/icons": "^2.0.1",

View File

@@ -1,6 +1,6 @@
{ {
"name": "ucentral-client", "name": "ucentral-client",
"version": "2.3.11", "version": "2.3.12",
"dependencies": { "dependencies": {
"@coreui/coreui": "^3.4.0", "@coreui/coreui": "^3.4.0",
"@coreui/icons": "^2.0.1", "@coreui/icons": "^2.0.1",
@@ -26,7 +26,7 @@
"react-tooltip": "^4.2.21", "react-tooltip": "^4.2.21",
"react-widgets": "^5.1.1", "react-widgets": "^5.1.1",
"sass": "^1.35.1", "sass": "^1.35.1",
"ucentral-libs": "^1.0.5", "ucentral-libs": "^1.0.8",
"uuid": "^8.3.2" "uuid": "^8.3.2"
}, },
"main": "index.js", "main": "index.js",

View File

@@ -466,7 +466,7 @@
"unassigned_tags": "Unassigned tags", "unassigned_tags": "Unassigned tags",
"validating_import_file": "Validating import file and data...", "validating_import_file": "Validating import file and data...",
"venue": "Venue", "venue": "Venue",
"view_in_gateway": "View in Gateway" "view_in_gateway": "Details in Gateway"
}, },
"location": { "location": {
"add": "Add Location", "add": "Add Location",

View File

@@ -17,7 +17,7 @@ const DetailsModal = ({ t, show, toggle, details, commandUuid }) => (
</div> </div>
</CModalHeader> </CModalHeader>
<CModalBody> <CModalBody>
<pre className="ignore">{JSON.stringify(details, null, 4)}</pre> <pre className="ignore">{JSON.stringify(details, null, 2)}</pre>
</CModalBody> </CModalBody>
</CModal> </CModal>
); );

View File

@@ -19,7 +19,7 @@ const DeviceConfigurationModal = ({ show, toggle, configuration }) => (
<CModalTitle className="text-dark">{t('configuration.title')}</CModalTitle> <CModalTitle className="text-dark">{t('configuration.title')}</CModalTitle>
</CModalHeader> </CModalHeader>
<CModalBody> <CModalBody>
<pre className="ignore">{JSON.stringify(configuration, null, 4)}</pre> <pre className="ignore">{JSON.stringify(configuration, null, 2)}</pre>
</CModalBody> </CModalBody>
<CModalFooter> <CModalFooter>
<CButton color="secondary" onClick={toggle}> <CButton color="secondary" onClick={toggle}>

View File

@@ -106,7 +106,7 @@ const DeviceLogs = () => {
const getDetails = (index, logDetails) => { const getDetails = (index, logDetails) => {
if (details.includes(index)) if (details.includes(index))
return <pre className="ignore">{JSON.stringify(logDetails, null, 4)}</pre>; return <pre className="ignore">{JSON.stringify(logDetails, null, 2)}</pre>;
return <pre className="ignore" />; return <pre className="ignore" />;
}; };

View File

@@ -134,7 +134,7 @@ const FirmwareDashboard = () => {
if ( if (
parsedData.numberOfDevices === undefined || parsedData.numberOfDevices === undefined ||
Number.isNaN(parsedData.numberOfDevices) || Number.isNaN(parsedData.numberOfDevices) ||
parsedData === 0 parsedData.numberOfDevices === 0
) { ) {
parsedData.latestSoftwareRate = '-'; parsedData.latestSoftwareRate = '-';
} else { } else {

View File

@@ -51,7 +51,7 @@ const LatestStatisticsModal = ({ show, toggle }) => {
</div> </div>
</CModalHeader> </CModalHeader>
<CModalBody> <CModalBody>
<pre className="ignore">{JSON.stringify(latestStats, null, 4)}</pre> <pre className="ignore">{JSON.stringify(latestStats, null, 2)}</pre>
</CModalBody> </CModalBody>
</CModal> </CModal>
); );

View File

@@ -193,7 +193,7 @@ const TelemetryModal = ({ show, toggle }) => {
</CRow> </CRow>
<CRow> <CRow>
<CCol> <CCol>
<pre>{JSON.stringify(lastMessage, null, '\t')}</pre> <pre>{JSON.stringify(lastMessage, null, 2)}</pre>
</CCol> </CCol>
</CRow> </CRow>
<CRow> <CRow>