Prettier
parent
059f858b9c
commit
ec3721fbb7
|
@ -82,8 +82,7 @@ class DashboardPage extends Component {
|
|||
|
||||
handleCloseTemplateManager(isEdited) {
|
||||
if (
|
||||
!isEdited ||
|
||||
(isEdited && confirm('Do you want to close without saving?')) // eslint-disable-line no-alert
|
||||
!isEdited || (isEdited && confirm('Do you want to close without saving?')) // eslint-disable-line no-alert
|
||||
) {
|
||||
this.setState({isTemplating: false})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue