Beta 7, again, with ETH Node connectivity

This commit is contained in:
Luis Fernando Molina committed 2020-11-13 19:13:27 +01:00
1 parent 04f20402fa
commit 6969542ed6
15 files changed
+359 -14

No files matched your search

@@ -72,7 +72,7 @@ function newCircularProgressBar() {
thisObject.payload.uiObject.setValue(message.event.processingDate, 2000)
}
if (message.event.percentage !== undefined) {
thisObject.payload.uiObject.setPercentage(message.event.percentage, 2000)
thisObject.payload.uiObject.setPercentage(message.event.percentage.toFixed(0), 2000)
}
if (message.event.status !== undefined) {
needToDrawRing = false
@@ -1835,7 +1835,7 @@ function newUiObject() {
if (radius > 6) {
const MAX_LABEL_LENGTH = 65
label = Number(currentPercentage).toFixed(0) + '%'
label = Number(currentPercentage) + '%'
if (label.length > MAX_LABEL_LENGTH) {
label = label.substring(0, MAX_LABEL_LENGTH) + '...'