mirror of
https://github.com/BradNut/umami
synced 2025-09-08 17:40:29 +00:00
Fixed wrong chart color.
This commit is contained in:
parent
6ea48d5c2c
commit
e1ad3b99cd
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ export function Chart({
|
||||||
updateChart(data);
|
updateChart(data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, [data]);
|
}, [data, options]);
|
||||||
|
|
||||||
const handleLegendClick = (item: LegendItem) => {
|
const handleLegendClick = (item: LegendItem) => {
|
||||||
if (type === 'bar') {
|
if (type === 'bar') {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue