Skip to content

Commit d1237f8

Browse files
authored
Merge pull request #1845 from zjuasmn/issue1713
fix #1713: Card View-> Cancel button navigates user to project page
2 parents 663e938 + a8e9894 commit d1237f8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/ProjectStatus/ProjectStatusChangeConfirmation.jsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,10 @@ class ProjectStatusChangeConfirmation extends Component {
7878
const { newStatus, onCancel } = this.props
7979
this.shouldDropdownUp()
8080
return (
81-
<div className={cn('modal', 'project-status-change-modal', { 'dropdown-up': this.state.showUp })} ref={(input) => { if (input && ! this.wrapper){this.wrapper = input; this.setState({showUp:this.shouldDropdownUp()}) }}}>
81+
<div className={cn('modal', 'project-status-change-modal', { 'dropdown-up': this.state.showUp })}
82+
ref={(input) => { if (input && ! this.wrapper){this.wrapper = input; this.setState({showUp:this.shouldDropdownUp()}) }}}
83+
onClick={e => e.stopPropagation()}
84+
>
8285
<div className="modal-title danger">
8386
You are about to { this.titleStatus } the project
8487
</div>

0 commit comments

Comments
 (0)