We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ea2d85 commit 2b51316Copy full SHA for 2b51316
src/widget-table.ts
@@ -108,7 +108,7 @@ export class WidgetTable extends LitElement {
108
if (i % 2 === 0) p[c] = a[i + 1]
109
return p
110
}, {})
111
- return html`<div class="statusbox" style="background-color: ${stateMap[value]}"></div>`
+ return html`<div class="statusbox" style="background-color: ${stateMap[String(value)]}"></div>`
112
}
113
114
renderButton(cell: Values[number], colDef: Column) {
0 commit comments