File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export class EditFileAttachment extends React.Component {
4242 render ( ) {
4343 const { onCancel, onConfirm, projectMembers, loggedInUser } = this . props
4444 const { title, allowedUsers } = this . state
45- const showVisibleToAllProjectMembersText = ! ( allowedUsers . length > 0 )
45+ const showVisibleToAllProjectMembersText = ! ( allowedUsers && allowedUsers . length > 0 )
4646 return (
4747 < div className = "modal delete-link-modal" >
4848 < div className = "modal-title danger" >
@@ -53,7 +53,7 @@ export class EditFileAttachment extends React.Component {
5353 < input className = "edit-input" type = "text" value = { title } onChange = { this . handleTitleChange . bind ( this ) } name = "title" />
5454 < br />
5555 < label for = "title" > File Viewers:</ label >
56- < UserAutoComplete onUpdate = { this . onUserIdChange }
56+ < UserAutoComplete onUpdate = { this . onUserIdChange }
5757 projectMembers = { projectMembers }
5858 loggedInUser = { loggedInUser }
5959 selectedUsers = { this . userIdsToHandles ( allowedUsers ) . join ( ',' ) }
Original file line number Diff line number Diff line change 120120 }
121121
122122 .project-members-visible {
123- margin : 10px 0 ;
123+ margin-top : 10px ;
124124 line-height : 120% ;
125125 font-size : 12px ;
126126 }
You can’t perform that action at this time.
0 commit comments