PanelQueryRunner: Return previous processed (transform+field config) series for loading state (#67768)

* Return same series for loading state

* Fix shared query issue

* include structureRev

* heatmap should depend on the series, not the wrapper

* fix more panels

* keep config for comparison

* fieldConfig.fieldConfig!

* cleanup

* cmon

---------

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
This commit is contained in:
Torkel Ödegaard
2023-05-07 15:21:40 +02:00
committed by GitHub
parent 69a38def63
commit 32fafffed7
14 changed files with 110 additions and 103 deletions

View File

@@ -13,7 +13,7 @@ export const HistogramPanel = ({ data, options, width, height }: Props) => {
const theme = useTheme2();
const histogram = useMemo(() => {
if (!data?.series?.length) {
if (!data.series.length) {
return undefined;
}