Apply suggestions from code review of branch refactor/migrate_vuex_to_pinia

Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
This commit is contained in:
Antonio Anaya 2026-04-30 21:24:29 +00:00
parent ebd67cd410
commit 67f253eecd
6 changed files with 24 additions and 7 deletions

View file

@ -66,10 +66,10 @@ export default {
}
this.modalConfirm(message).then(
() => {
this.resetState();
this.deleteAllThingDescriptions();
// Post and silence errors
axios.post(this.thingActionUrl("system", action)).catch(() => {});
this.resetState();
this.deleteAllThingDescriptions();
},
() => {},
);