Minor restyling

This commit is contained in:
Joel Collins 2019-03-21 16:27:14 +00:00
parent 4d9fa69383
commit 2a5bcd686a

View file

@ -225,7 +225,9 @@ export default {
// Start the store polling TaskId for success
return this.$store.dispatch('pollTask', [response.data[0].id, null, null])
})
.then(() => { console.log("Successfully finished autofocus"); })
.then(() => {
console.log("Successfully finished autofocus")
})
.catch(error => {
UIkit.notification({message: `<span uk-icon=\'icon: warning\'></span> ${error}`, status: 'danger'})
this.$store.dispatch('handleHTTPError', error); // Let store handle error