Skip to content

Commit 360dbdc

Browse files
committed
Fix disabled add button
1 parent da22fef commit 360dbdc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/controls/listItemAttachments/ListItemAttachments.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ export class ListItemAttachments extends React.Component<IListItemAttachmentsPro
194194
iconText={strings.ListItemAttachmentslPlaceHolderIconText}
195195
description={strings.ListItemAttachmentslPlaceHolderDescription}
196196
buttonLabel={strings.ListItemAttachmentslPlaceHolderButtonLabel}
197+
hideButton={this.props.disabled}
197198
onConfigure={() => this.setState({ fireUpload: true })} />
198199
:
199200

0 commit comments

Comments
 (0)