mistercrunch closed pull request #4768: [Bug fix] Resolving key conflicts in Timeseries Annotation Layer when key is a string URL: https://github.com/apache/incubator-superset/pull/4768
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/superset/assets/visualizations/nvd3_vis.js b/superset/assets/visualizations/nvd3_vis.js index 9ce02bd031..36da5794d9 100644 --- a/superset/assets/visualizations/nvd3_vis.js +++ b/superset/assets/visualizations/nvd3_vis.js @@ -543,7 +543,7 @@ function nvd3Vis(slice, payload) { return {}; } const key = Array.isArray(series.key) ? - `${a.name}, ${series.key.join(', ')}` : a.name; + `${a.name}, ${series.key.join(', ')}` : `${a.name}, ${series.key}`; return { ...series, key, ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services