fix(explore): Mark time range dashboard filter with warning icon (#22984)

This commit is contained in:
Kamil Gabryjelski 2023-02-03 18:26:05 +01:00 committed by GitHub
parent b63ea6386f
commit 5d550f449a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -173,6 +173,7 @@ const getExpectedResultFormData = (overrides: JsonObject = {}) => ({
subject: 'ds',
comparator: 'Last month',
filterOptionName: expect.any(String),
isExtra: true,
},
{
clause: 'WHERE',

View File

@ -184,6 +184,7 @@ const applyTimeRangeFilters = (
return {
...filter,
comparator: extraFormData.time_range,
isExtra: true,
};
}
return filter;