mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-07-23 04:01:52 +00:00
Fix turning off colors
This commit is contained in:
@@ -393,7 +393,10 @@ class ChartWrapper {
|
||||
props.onSelection(info);
|
||||
}
|
||||
},
|
||||
colors: (props.colors && chartColors.get(props.colors)) || undefined,
|
||||
colors:
|
||||
props.colors !== undefined
|
||||
? chartColors.get(props.colors)
|
||||
: undefined,
|
||||
animate: true,
|
||||
updateSvgSize: false,
|
||||
locale: intl.locale,
|
||||
|
||||
Reference in New Issue
Block a user