From ffc72ec7f41de47da98b4615deb91a43c3098c0c Mon Sep 17 00:00:00 2001 From: nmfretz Date: Thu, 21 Sep 2023 21:13:57 -0700 Subject: [PATCH] close advanced settings modal if server receives restart request but cannot complete the action --- ui/src/views/Bitcoin.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/src/views/Bitcoin.vue b/ui/src/views/Bitcoin.vue index 2f0f57b..98e19d4 100644 --- a/ui/src/views/Bitcoin.vue +++ b/ui/src/views/Bitcoin.vue @@ -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) {