Rendering: Fix panel rendered count on error (#67027)

Rendering: fix panel rendered count on error
This commit is contained in:
Agnès Toulet
2023-04-24 08:27:49 +01:00
committed by GitHub
parent 9c6feac6cc
commit fe5a07f336

View File

@@ -445,7 +445,7 @@ export class PanelStateWrapper extends PureComponent<Props, State> {
};
shouldSignalRenderingCompleted(loadingState: LoadingState, pluginMeta: PanelPluginMeta) {
return loadingState === LoadingState.Done || pluginMeta.skipDataQuery;
return loadingState === LoadingState.Done || loadingState === LoadingState.Error || pluginMeta.skipDataQuery;
}
skipFirstRender(loadingState: LoadingState) {