File tree Expand file tree Collapse file tree
components/engagement_edit_modals Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,9 +6,7 @@ export const APP_FEATURES = {
66 reader : 'reader' ,
77 notifications : 'notifications' ,
88 engagementCardIcons : 'engagementCardIcons' ,
9- resetUser : 'resetUser' ,
109 dashboardDateSelector : 'dashboard-date-selector' ,
11- newDashboard : 'newDashboard' ,
1210 engagementWriter : 'engagementWriter' ,
1311 copyFrom : 'copyFrom'
1412} ;
Original file line number Diff line number Diff line change @@ -5,10 +5,8 @@ export type FeatureVersionMap = {
55 [ key in AppFeature ] ?: string ;
66} ;
77
8- export const FEATURE_VERSION_MAP : FeatureVersionMap = {
9- resetUser : 'v1.2.50' ,
10- newDashboard : 'v1.2.0' ,
11- } ;
8+ export const FEATURE_VERSION_MAP : FeatureVersionMap = { } ;
9+
1210const getSemverFromVersionString = ( version : string = '' ) : string => {
1311 return semver . clean ( version ) ;
1412} ;
Original file line number Diff line number Diff line change @@ -169,11 +169,7 @@ export const UserRow = ({
169169 style = { { paddingTop : '1rem' , paddingLeft : '1.5rem' } }
170170 >
171171 < Tooltip
172- content = {
173- ! hasFeature ( APP_FEATURES . resetUser )
174- ? 'This feature will be available soon'
175- : 'Select users you want to reset (Active Engagements only)'
176- }
172+ content = { 'Select users you want to reset (Active Engagements only)' }
177173 entryDelay = { 0 }
178174 exitDelay = { 10 }
179175 isContentLeftAligned = { true }
@@ -182,7 +178,6 @@ export const UserRow = ({
182178 < Checkbox
183179 isDisabled = {
184180 ! hasFeature ( APP_FEATURES . writer ) ||
185- ! hasFeature ( APP_FEATURES . resetUser ) ||
186181 isUserDeleted ||
187182 status !== EngagementStatus . active
188183 }
You can’t perform that action at this time.
0 commit comments