Commit 5f9c9c9 1 parent 65df508 commit 5f9c9c9 Copy full SHA for 5f9c9c9
File tree 3 files changed +0
-18
lines changed
applications/facility-locator
platform/utilities/feature-toggles
3 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import { VaPagination } from '@department-of-veterans-affairs/component-library/
2
2
import React , { Component } from 'react' ;
3
3
import { connect } from 'react-redux' ;
4
4
import { LocationType } from '../constants' ;
5
- import { facilityLocatorRestoreCommunityCarePagination } from '../utils/featureFlagSelectors' ;
6
5
7
6
export class PaginationWrapper extends Component {
8
7
shouldComponentUpdate = nextProps =>
@@ -41,17 +40,6 @@ export class PaginationWrapper extends Component {
41
40
const mapStateToProps = state => {
42
41
let shouldHidePagination = false ;
43
42
44
- if (
45
- [
46
- LocationType . CC_PROVIDER ,
47
- LocationType . URGENT_CARE_PHARMACIES ,
48
- LocationType . EMERGENCY_CARE ,
49
- ] . includes ( state . searchQuery . facilityType ) &&
50
- ! facilityLocatorRestoreCommunityCarePagination ( state )
51
- ) {
52
- shouldHidePagination = true ;
53
- }
54
-
55
43
// pagination not yet supported for PPMS urgent care
56
44
if (
57
45
state . searchQuery . facilityType === LocationType . URGENT_CARE &&
Original file line number Diff line number Diff line change @@ -11,8 +11,3 @@ export const facilityLocatorPredictiveLocationSearch = state =>
11
11
toggleValues ( state ) [
12
12
FEATURE_FLAG_NAMES . facilityLocatorPredictiveLocationSearch
13
13
] ;
14
-
15
- export const facilityLocatorRestoreCommunityCarePagination = state =>
16
- toggleValues ( state ) [
17
- FEATURE_FLAG_NAMES . facilityLocatorRestoreCommunityCarePagination
18
- ] ;
Original file line number Diff line number Diff line change 72
72
"facilitiesPpmsSuppressAll" : " facilities_ppms_suppress_all" ,
73
73
"facilitiesPpmsSuppressPharmacies" : " facilities_ppms_suppress_pharmacies" ,
74
74
"facilityLocatorPredictiveLocationSearch" : " facility_locator_predictive_location_search" ,
75
- "facilityLocatorRestoreCommunityCarePagination" : " facility_locator_restore_community_care_pagination" ,
76
75
"facilityLocatorShowCommunityCares" : " facility_locator_show_community_cares" ,
77
76
"facilityLocatorShowOperationalHoursSpecialInstructions" : " facility_locator_show_operational_hours_special_instructions" ,
78
77
"fileUploadShortWorkflowEnabled" : " file_upload_short_workflow_enabled" ,
You can’t perform that action at this time.
0 commit comments