0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-09 18:02:39 +00:00

Do not force brew back to Homebrew if a Google save fails

This commit is contained in:
Trevor Buckner
2021-04-23 22:10:56 -04:00
parent 983a37c77f
commit 7186a94c27

View File

@@ -187,7 +187,7 @@ const EditPage = createClass({
.catch((err)=>{ .catch((err)=>{
console.log(err.status === 401 console.log(err.status === 401
? 'Not signed in!' ? 'Not signed in!'
: 'Error Saving to Google!'); : 'Error Transferring to Google!');
this.setState({ errors: err, saveGoogle: false }); this.setState({ errors: err, saveGoogle: false });
}); });
@@ -210,7 +210,7 @@ const EditPage = createClass({
console.log(err.status === 401 console.log(err.status === 401
? 'Not signed in!' ? 'Not signed in!'
: 'Error Saving to Google!'); : 'Error Saving to Google!');
this.setState({ errors: err, saveGoogle: false }); this.setState({ errors: err });
return; return;
}); });