File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 143143 { value: k .toLowerCase (), label: v }
144144 ));
145145
146- // Preset time range options (excluding custom date)
147- const presetTimeRangeOptions = TIME_RANGE_OPTIONS
148- .filter (x => x .value !== CUSTOM_DATE_RANGE )
149- .map (x => ({
146+ // Preset time range options
147+ const presetTimeRangeOptions = TIME_RANGE_OPTIONS .map (x => ({
150148 label: x .label ,
151149 value: x .value
152150 }));
Original file line number Diff line number Diff line change 3232
3333 const initPager = { page: firstPage, size: pageSize };
3434
35- // Preset time range options (excluding custom date)
36- const presetTimeRangeOptions = TIME_RANGE_OPTIONS
37- .filter (x => x .value !== CUSTOM_DATE_RANGE )
38- .map (x => ({
35+ // Preset time range options
36+ const presetTimeRangeOptions = TIME_RANGE_OPTIONS .map (x => ({
3937 label: x .label ,
4038 value: x .value
4139 }));
You can’t perform that action at this time.
0 commit comments