Fix dynamic evaluation of UI config expressions

This commit is contained in:
Zaid Humaimidi committed 2024-04-22 14:14:12 -07:00
1 parent 5c4fc3263b
commit 756912eeb1
4 files changed
+24 -8

No files matched your search

+6 -2
View File
@@ -27,10 +27,14 @@ const component: ClosureComponent = (): Component => {
cx: "0.5em",
cy: "0.5em",
r: "0.4em",
fill: slice["color"],
fill: evaluateExpression(slice["color"], null),
}),
);
return m("span.overview-dot", dot, `${slice["label"]}`);
return m(
"span.overview-dot",
dot,
evaluateExpression(slice["label"], null),
);
}
}
return null;