0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +00:00

set the version in the ui from the server response on save

This commit is contained in:
Charlie Humphreys
2022-12-13 21:05:45 -06:00
parent 63e043593a
commit 354d01e980

View File

@@ -230,7 +230,8 @@ const EditPage = createClass({
brew : { ...prevState.brew,
googleId : this.savedBrew.googleId ? this.savedBrew.googleId : null,
editId : this.savedBrew.editId,
shareId : this.savedBrew.shareId
shareId : this.savedBrew.shareId,
version : this.savedBrew.version
},
isPending : false,
isSaving : false,