Skip to content

Commit 7c99700

Browse files
authored
Update EditFileAttachment.jsx
1 parent ba5291d commit 7c99700

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/LinksMenu/EditFileAttachment.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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 && allowedUsers.length > 0 ? false : true;
45+
const showVisibleToAllProjectMembersText = allowedUsers.length > 0 ? false : true
4646
return (
4747
<div className="modal delete-link-modal">
4848
<div className="modal-title danger">
@@ -59,7 +59,7 @@ export class EditFileAttachment extends React.Component {
5959
selectedUsers={this.userIdsToHandles(allowedUsers).join(',')}
6060
/>
6161
{showVisibleToAllProjectMembersText && <div className="project-members-visible">
62-
There are no specified file viewers. File will be visible to all project members
62+
There are no specified file viewers. File will be visible to all project members.
6363
</div>}
6464
<br />
6565

0 commit comments

Comments
 (0)