Improved handling updating local settings
This commit is contained in:
parent
3142c9a336
commit
04985e3ef9
2 changed files with 7 additions and 7 deletions
|
|
@ -116,8 +116,9 @@ export default {
|
|||
axios
|
||||
.put(this.settingsUri, payload)
|
||||
.then(() => {
|
||||
// Update local settings
|
||||
this.updateSettings();
|
||||
this.modalNotify("Microscope config applied.");
|
||||
this.modalNotify("Microscope settings applied.");
|
||||
})
|
||||
.catch(error => {
|
||||
this.modalError(error); // Let mixin handle error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue