close advanced settings modal if server receives restart request but cannot complete the action

This commit is contained in:
nmfretz 2023-09-21 21:13:57 -07:00
parent 482836a6ab
commit ffc72ec7f4

View File

@ -296,6 +296,7 @@ export default {
} else {
this.fetchBitcoinConfigSettings();
this.showRestartError = true;
this.$bvModal.hide("advanced-settings-modal");
this.isRestartPending = false;
}
} catch (error) {
@ -324,6 +325,7 @@ export default {
} else {
this.fetchBitcoinConfigSettings();
this.showRestartError = true;
this.$bvModal.hide("advanced-settings-modal");
this.isRestartPending = false;
}
} catch (error) {