Skip to content

Commit b2eb71c

Browse files
committed
Fix meta field of customdata ignores changes made in filters. Pointed out by @FrnchFrgg
1 parent c98f167 commit b2eb71c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plotly-graph-card.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ export class PlotlyGraph extends HTMLElement {
488488
if (trace.name) name = trace.name;
489489
const customdata = data.xs.map((x, i) => ({
490490
unit_of_measurement,
491-
meta,
491+
meta: data.meta,
492492
name,
493493
state: data.states[i],
494494
statistic: data.statistics[i],

0 commit comments

Comments
 (0)