@@ -58,9 +58,6 @@ type AttachmentPickerWithMenuItemsProps = {
5858 /** Whether or not the composer is full size */
5959 isComposerFullSize : boolean ;
6060
61- /** Whether or not the user is blocked from concierge */
62- isBlockedFromConcierge : boolean ;
63-
6461 /** Whether or not the attachment picker is disabled */
6562 disabled ?: boolean ;
6663
@@ -112,7 +109,6 @@ function AttachmentPickerWithMenuItems({
112109 isFullComposerAvailable,
113110 isComposerFullSize,
114111 reportID,
115- isBlockedFromConcierge,
116112 disabled,
117113 setMenuVisibility,
118114 isMenuVisible,
@@ -373,7 +369,7 @@ function AttachmentPickerWithMenuItems({
373369 setMenuVisibility ( ! isMenuVisible ) ;
374370 } }
375371 style = { styles . composerSizeButton }
376- disabled = { isBlockedFromConcierge || disabled }
372+ disabled = { disabled }
377373 role = { CONST . ROLE . BUTTON }
378374 accessibilityLabel = { translate ( 'common.create' ) }
379375 >
@@ -400,7 +396,7 @@ function AttachmentPickerWithMenuItems({
400396 // Keep focus on the composer when Collapse button is clicked.
401397 onMouseDown = { ( e ) => e . preventDefault ( ) }
402398 style = { styles . composerSizeButton }
403- disabled = { isBlockedFromConcierge || disabled }
399+ disabled = { disabled }
404400 role = { CONST . ROLE . BUTTON }
405401 accessibilityLabel = { translate ( 'reportActionCompose.collapse' ) }
406402 >
@@ -424,7 +420,7 @@ function AttachmentPickerWithMenuItems({
424420 // Keep focus on the composer when Expand button is clicked.
425421 onMouseDown = { ( e ) => e . preventDefault ( ) }
426422 style = { styles . composerSizeButton }
427- disabled = { isBlockedFromConcierge || disabled }
423+ disabled = { disabled }
428424 role = { CONST . ROLE . BUTTON }
429425 accessibilityLabel = { translate ( 'reportActionCompose.expand' ) }
430426 >
0 commit comments