[MM-35131] Don't set the download location in config if we hit Cancel (#1600)

This commit is contained in:
Devin Binnie
2021-05-14 09:16:23 -04:00
committed by GitHub
parent 15a020a726
commit 22449fb081

View File

@@ -264,6 +264,9 @@ export default class SettingsPage extends React.PureComponent {
}
saveDownloadLocation = (location) => {
if (!location) {
return;
}
this.setState({
downloadLocation: location,
});