- 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:
parent
5bea089ba1
commit
c2d58a7454
3 changed files with 4 additions and 1 deletions
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
- bug fixes
|
||||
- eq widgets not properly converted when importing v0 sessions
|
||||
- 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)
|
||||
|
||||
## 1.16.0
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -57,6 +57,7 @@ function resolvePath(url, clientId) {
|
|||
}
|
||||
|
||||
url = resolveHomeDir(url)
|
||||
url = url.split('?')[0]
|
||||
|
||||
for (var i = sessionPath ? -1 : 0; i < resolveDirs.length; i++) {
|
||||
var p = i === -1 ? sessionPath : resolveDirs[i]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue