0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-13 17:22:49 +00:00

Added new navitems

This commit is contained in:
Scott Tolksdorf
2016-12-27 21:10:03 -05:00
parent 41303e6918
commit 924b398768
5 changed files with 41 additions and 31 deletions

View File

@@ -43,6 +43,7 @@ const Actions = {
.send(Store.getBrew())
.end((err, res)=>{
if(err) return dispatch('SET_STATUS', 'error', err);
localStorage.setItem('homebrewery-new', null);
const brew = res.body;
window.location = '/edit/' + brew.editId;
});