mirror of
https://github.com/Retropex/umbrel-bitcoin.git
synced 2025-05-12 19:20:49 +02:00
close advanced settings modal if server receives restart request but cannot complete the action
This commit is contained in:
parent
482836a6ab
commit
ffc72ec7f4
@ -296,6 +296,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.fetchBitcoinConfigSettings();
|
this.fetchBitcoinConfigSettings();
|
||||||
this.showRestartError = true;
|
this.showRestartError = true;
|
||||||
|
this.$bvModal.hide("advanced-settings-modal");
|
||||||
this.isRestartPending = false;
|
this.isRestartPending = false;
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
@ -324,6 +325,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.fetchBitcoinConfigSettings();
|
this.fetchBitcoinConfigSettings();
|
||||||
this.showRestartError = true;
|
this.showRestartError = true;
|
||||||
|
this.$bvModal.hide("advanced-settings-modal");
|
||||||
this.isRestartPending = false;
|
this.isRestartPending = false;
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user