fix(ui): duration filter support in search url (#1307)
This commit is contained in:
parent
35cc8e0f52
commit
c31a0d3b82
1 changed files with 4 additions and 0 deletions
|
|
@ -58,6 +58,8 @@ export const setQueryParamKeyFromFilterkey = (filterKey: string) => {
|
|||
return 'amem';
|
||||
case FilterKey.FETCH_FAILED:
|
||||
return 'ff';
|
||||
case FilterKey.DURATION:
|
||||
return 'duration';
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -136,6 +138,8 @@ export const getFilterKeyTypeByKey = (key: string) => {
|
|||
case 'ff':
|
||||
case 'fetchFailed':
|
||||
return FilterKey.FETCH_FAILED;
|
||||
case 'duration':
|
||||
return FilterKey.DURATION;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue