Skip to content

Commit

Permalink
fix: rename modal keeping the previous name (#1221)
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
  • Loading branch information
hacdias authored Oct 2, 2019
1 parent ef0110f commit db31895
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/files/modals/Modals.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,12 @@ class Modals extends React.Component {
})
break
}
default:
case NEW_FOLDER:
case ADD_BY_PATH:
this.setState({ readyToShow: true })
break
default:
// do nothing
}
}

Expand Down

0 comments on commit db31895

Please sign in to comment.