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 1651bbb commit 59c4025Copy full SHA for 59c4025
dashboard/src/model/meta-model/dashboard/content/filter/widgets/select-base.ts
@@ -42,7 +42,7 @@ export const FilterBaseSelectConfigMeta = types
42
// @ts-expect-error untyped getRoot(self)
43
const { data, state, error } = getRoot(self).content.getDataStuffByID(self.options_query_id);
44
if (state === 'idle') {
45
- return data;
+ return Array.isArray(data) ? data : [];
46
}
47
return [];
48
},
0 commit comments