@baravak/risloo-profile-cli 4.25.2 → 4.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/samples/16PF93.js +3 -2
package/package.json
CHANGED
package/src/samples/16PF93.js
CHANGED
|
@@ -164,8 +164,9 @@ class _16PF93 extends Profile {
|
|
|
164
164
|
}
|
|
165
165
|
bCount.style = alertStyle[bCount.type]
|
|
166
166
|
const secondary = dataset.score.slice(34, 44).map((item, i) => {
|
|
167
|
-
item.value = item.mark.toString().replace('.', ',')
|
|
168
|
-
item.mark = Math.min(Math.max(item.mark, 0), 10)
|
|
167
|
+
item.value = parseFloat(item.mark).toString().replace('.', ',')
|
|
168
|
+
item.mark = parseFloat(Math.min(Math.max(item.mark, 0), 10))
|
|
169
|
+
|
|
169
170
|
item.label.max = 10
|
|
170
171
|
item.circle = gauge(item, -90, 270)
|
|
171
172
|
const row = Math.floor(i / 2)
|