Merge pull request #1171 from processing/action-error

fixes #1170
This commit is contained in:
Cassie Tarakajian 2019-10-01 16:32:38 -04:00 committed by GitHub
commit 7e815b1dcb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -170,7 +170,7 @@ class Nav extends React.PureComponent {
handleDownload() { handleDownload() {
this.props.autosaveProject(); this.props.autosaveProject();
this.props.exportProjectAsZip(this.props.project.id); projectActions.exportProjectAsZip(this.props.project.id);
this.setDropdown('none'); this.setDropdown('none');
} }
@ -633,7 +633,6 @@ Nav.propTypes = {
setToastText: PropTypes.func.isRequired, setToastText: PropTypes.func.isRequired,
saveProject: PropTypes.func.isRequired, saveProject: PropTypes.func.isRequired,
autosaveProject: PropTypes.func.isRequired, autosaveProject: PropTypes.func.isRequired,
exportProjectAsZip: PropTypes.func.isRequired,
cloneProject: PropTypes.func.isRequired, cloneProject: PropTypes.func.isRequired,
user: PropTypes.shape({ user: PropTypes.shape({
authenticated: PropTypes.bool.isRequired, authenticated: PropTypes.bool.isRequired,