- image paths with url queries not loaded properly

- @{} syntax not returning truncated value according to the widget's precision property (fixed for primitive values only, object values are still returned as is)
This commit is contained in:
bordun 2022-05-01 12:57:16 +02:00
parent 5bea089ba1
commit c2d58a7454
3 changed files with 4 additions and 1 deletions

View file

@ -668,7 +668,7 @@ class Widget extends EventEmitter {
var r
switch (k) {
case 'value':
r = widgets[i].value
r = typeof widgets[i].value === 'object' ? widgets[i].value widgets[i].getValue(true)
break
case 'uuid':
r = widgets[i].hash