mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Themes: Re-init graph on theme change (#59690)
Re-init graph on theme change
This commit is contained in:
parent
5712b05330
commit
069c99fba3
@ -10,7 +10,7 @@ import { UPlotConfigBuilder } from '../uPlot/config/UPlotConfigBuilder';
|
||||
|
||||
import { preparePlotConfigBuilder } from './utils';
|
||||
|
||||
const propsToDiff: Array<string | PropDiffFn> = ['legend', 'options'];
|
||||
const propsToDiff: Array<string | PropDiffFn> = ['legend', 'options', 'theme'];
|
||||
|
||||
type TimeSeriesProps = Omit<GraphNGProps, 'prepConfig' | 'propsToDiff' | 'renderLegend'>;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user