Disable emitDataRequest from explore (#23926)

This commit is contained in:
Jon Gyllenswärd authored and GitHub committed 2020-04-27 16:32:40 +03:00
1 parent 1a0c1a39e4
commit 9f04f8001f
1 file changed
+4
@@ -18,6 +18,10 @@ export function emitDataRequestEvent(datasource: DataSourceApi) {
return;
}
if (data.request.exploreMode) {
return;
}
if (data.state !== LoadingState.Done && data.state !== LoadingState.Error) {
return;
}