Remove New button from edit mode

This commit is contained in:
Bubka
2020-01-07 23:10:04 +01:00
parent f7d8edf73a
commit 9b30f3fe83
3 changed files with 15 additions and 15 deletions

View File

@ -90,7 +90,7 @@
axios.defaults.headers.common['Authorization'] = 'Bearer ' + token
axios.post('/api/twofaccounts', this.twofaccount).then(response => {
this.$router.push({name: 'accounts', params: { InitialEditMode: true }});
this.$router.push({name: 'accounts', params: { InitialEditMode: false }});
})
},