We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c99700 commit da74505Copy full SHA for da74505
src/components/LinksMenu/EditFileAttachment.jsx
@@ -42,7 +42,7 @@ export class EditFileAttachment extends React.Component {
42
render() {
43
const { onCancel, onConfirm, projectMembers, loggedInUser } = this.props
44
const { title, allowedUsers } = this.state
45
- const showVisibleToAllProjectMembersText = allowedUsers.length > 0 ? false : true
+ const showVisibleToAllProjectMembersText = !(allowedUsers.length > 0)
46
return (
47
<div className="modal delete-link-modal">
48
<div className="modal-title danger">
0 commit comments