File tree Expand file tree Collapse file tree 1 file changed +2
-17
lines changed
src/custom/UserSearchField Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ interface UserSearchFieldProps {
3333 setUsersData : React . Dispatch < React . SetStateAction < User [ ] > > ;
3434 label ?: string ;
3535 setDisableSave ?: ( disable : boolean ) => void ;
36+ // Deprecated: remove notify controls from embedded contexts (e.g., audit filters)
3637 handleNotifyPref ?: ( ) => void ;
3738 notifyUpdate ?: boolean ;
3839 isCreate ?: boolean ;
@@ -229,23 +230,7 @@ const UserSearchField: React.FC<UserSearchFieldProps> = ({
229230 </ li >
230231 ) }
231232 />
232- { ! isCreate && (
233- < FormGroup row = { true } >
234- < div style = { { display : 'flex' , flexWrap : 'nowrap' } } >
235- < FormControlLabel
236- control = {
237- < Checkbox
238- checked = { notifyUpdate }
239- onChange = { handleNotifyPref }
240- name = "notify"
241- color = "primary"
242- />
243- }
244- label = { `Notify ${ searchType } of membership change` }
245- />
246- </ div >
247- </ FormGroup >
248- ) }
233+ { /* Notify checkbox removed */ }
249234 < Box
250235 sx = { {
251236 display : 'flex' ,
You can’t perform that action at this time.
0 commit comments