Fix dynamic evaluation of UI config expressions
This commit is contained in:
1 parent
5c4fc3263b
commit
756912eeb1
4 files changed
+24
-8
No files matched your search
+5
-1
@@ -39,7 +39,11 @@ export const component: ClosureComponent = (): Component => {
|
||||
|
||||
for (const c of Object.values(conf)) {
|
||||
cmps.push(
|
||||
m.context({ device: dev.value[0], deviceQuery: dev }, c["type"], c),
|
||||
m.context(
|
||||
{ device: dev.value[0], deviceQuery: dev },
|
||||
store.evaluateExpression(c["type"], null) as string,
|
||||
c,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user