We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 407f7f9 commit 6ecd455Copy full SHA for 6ecd455
1 file changed
web-common/src/features/dashboards/state-managers/loaders/DashboardStateDataLoader.ts
@@ -251,8 +251,10 @@ export class DashboardStateDataLoader {
251
}
252
253
if (
254
- fullTimeRange.data?.timeRangeSummary?.min == null &&
255
- fullTimeRange.data?.timeRangeSummary?.max == null
+ !fullTimeRange.isLoading &&
+ fullTimeRange.data &&
256
+ fullTimeRange.data.timeRangeSummary?.min == null &&
257
+ fullTimeRange.data.timeRangeSummary?.max == null
258
) {
259
// The timeRangeSummary is null when there are 0 rows of data.
260
// Notably, this happens when a security policy fully restricts a user from reading any data.
0 commit comments