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

Rendering: fix panel rendered count on error
This commit is contained in:
Agnès Toulet authored and GitHub committed 2023-04-24 09:27:49 +02:00
1 parent 9c6feac6cc
commit fe5a07f336
1 file changed
+1 -1
@@ -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) {