We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a1268c commit 514d125Copy full SHA for 514d125
src/cache/Cache.ts
@@ -182,6 +182,7 @@ export default class Cache {
182
// Making these fetches sequentially ensures that the already fetched ranges of each
183
// request are not fetched more than once
184
for (const entity of entityGroup) {
185
+ if (!entity.entity) continue;
186
const entityKey = getEntityKey(entity);
187
this.ranges[entityKey] ??= [];
188
const offsetRange = [
src/types.ts
@@ -21,7 +21,7 @@ export type InputConfig = {
21
title?: string;
22
offset?: TimeDurationStr;
23
entities: ({
24
- entity: string;
+ entity?: string;
25
attribute?: string;
26
statistic?: StatisticType;
27
period?: StatisticPeriod | "auto" | AutoPeriodConfig;
0 commit comments