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

View File

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

View File

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

View File

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

View File

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

View File

@@ -106,7 +106,7 @@ const DeviceLogs = () => {
const getDetails = (index, logDetails) => {
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" />;
};

View File

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

View File

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

View File

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