[v9.5.x] Rendering: Fix panel rendered count on error (#67087)

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

Rendering: fix panel rendered count on error
(cherry picked from commit fe5a07f336)

Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
This commit is contained in:
Grot (@grafanabot)
2023-04-24 10:54:08 +02:00
committed by GitHub
co-authored by Agnès Toulet
parent 8357ceae7b
commit fa1bd24b47
@@ -446,7 +446,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) {