Skip to content

Commit

Permalink
bugfix/null-trace-color (#248)
Browse files Browse the repository at this point in the history
* default trace color to valid hex
* update package v 0.18.4
  • Loading branch information
KevinJJackson authored Dec 6, 2024
1 parent ab6d46a commit 737ffc6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hhd-ui",
"version": "0.18.3",
"version": "0.18.4",
"private": true,
"dependencies": {
"@ag-grid-community/client-side-row-model": "^30.0.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ const PlotSymbology = ({
const index = traces.findIndex(trace => trace.timeseries_id === selectedTs);
const newTrace = {
...index !== -1 ? traces[index] : {},
color: settings.color,
color: settings.color || '#ffffff',
show_markers: settings.markers,
width: Number(settings.width),
line_style: settings.dash,
Expand Down

0 comments on commit 737ffc6

Please sign in to comment.