Skip to content

Commit 5d550f4

Browse files
authored
fix(explore): Mark time range dashboard filter with warning icon (#22984)
1 parent b63ea63 commit 5d550f4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

superset-frontend/src/explore/controlUtils/getFormDataFromDashboardContext.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ const getExpectedResultFormData = (overrides: JsonObject = {}) => ({
173173
subject: 'ds',
174174
comparator: 'Last month',
175175
filterOptionName: expect.any(String),
176+
isExtra: true,
176177
},
177178
{
178179
clause: 'WHERE',

superset-frontend/src/explore/controlUtils/getFormDataWithDashboardContext.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ const applyTimeRangeFilters = (
184184
return {
185185
...filter,
186186
comparator: extraFormData.time_range,
187+
isExtra: true,
187188
};
188189
}
189190
return filter;

0 commit comments

Comments
 (0)