mirror of
https://github.com/kemko/nomad.git
synced 2026-01-03 17:05:43 +03:00
Safestr the annotation style property
This commit is contained in:
@@ -306,7 +306,7 @@ export default class LineChart extends Component.extend(WindowResizable) {
|
||||
prevX = x;
|
||||
return {
|
||||
annotation,
|
||||
style: `transform:translate(${x}px,${y}px)`,
|
||||
style: `transform:translate(${x}px,${y}px)`.htmlSafe(),
|
||||
icon: iconFor[annotation.type],
|
||||
iconClass: iconClassFor[annotation.type],
|
||||
staggerClass: prevHigh ? 'is-staggered' : '',
|
||||
|
||||
Reference in New Issue
Block a user