summaryrefslogtreecommitdiff
path: root/src/views/Control/RebootBmc/RebootBmc.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/Control/RebootBmc/RebootBmc.vue')
-rw-r--r--src/views/Control/RebootBmc/RebootBmc.vue4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/views/Control/RebootBmc/RebootBmc.vue b/src/views/Control/RebootBmc/RebootBmc.vue
index 7bd98770..0a4bafe6 100644
--- a/src/views/Control/RebootBmc/RebootBmc.vue
+++ b/src/views/Control/RebootBmc/RebootBmc.vue
@@ -54,6 +54,10 @@ export default {
.dispatch('controls/getLastBmcRebootTime')
.finally(() => this.endLoader());
},
+ beforeRouteLeave(to, from, next) {
+ this.hideLoader();
+ next();
+ },
methods: {
onClick() {
this.$bvModal