File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
WooCommerce/Classes/ViewRelated/Dashboard/Analytics Hub Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -162,24 +162,5 @@ extension AnalyticsTimeRangeCard {
162162 case monthToDate
163163 case quarterToDate
164164 case yearToDate
165-
166- /// Wee need to provide a custom `allCases` in order to evict `.custom` while the feature flag is active.
167- /// We should delete this once the feature flag has been removed.
168- ///
169- static var allCases : [ Range ] {
170- [
171- ServiceLocator . featureFlagService. isFeatureFlagEnabled ( . analyticsHub) ? . custom : nil ,
172- . today,
173- . yesterday,
174- . lastWeek,
175- . lastMonth,
176- . lastQuarter,
177- . lastYear,
178- . weekToDate,
179- . monthToDate,
180- . quarterToDate,
181- yearToDate
182- ] . compactMap { $0 }
183- }
184165 }
185166}
You can’t perform that action at this time.
0 commit comments