[MM-35131] Don't set the download location in config if we hit Cancel (#1600)
This commit is contained in:
@@ -264,6 +264,9 @@ export default class SettingsPage extends React.PureComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
saveDownloadLocation = (location) => {
|
saveDownloadLocation = (location) => {
|
||||||
|
if (!location) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.setState({
|
this.setState({
|
||||||
downloadLocation: location,
|
downloadLocation: location,
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user