From 2c2fa0652081343b3a571b7cf30c3c70a8964056 Mon Sep 17 00:00:00 2001 From: Joao Mario Lago Date: Thu, 14 Mar 2024 17:19:54 -0300 Subject: [PATCH] core:frontend: Add check disable restart autopilot * Add a new check to avoid restart autopilot button to still available when powering down or rebooting --- core/frontend/src/components/app/PowerMenu.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/frontend/src/components/app/PowerMenu.vue b/core/frontend/src/components/app/PowerMenu.vue index 5a2917a95..4d2b2ea02 100644 --- a/core/frontend/src/components/app/PowerMenu.vue +++ b/core/frontend/src/components/app/PowerMenu.vue @@ -44,7 +44,7 @@ v-tooltip="'Restarts the autopilot'" class="ma-2" :loading="restarting_autopilot" - :disabled="restarting_autopilot" + :disabled="restarting_autopilot || non_default_status" @click="restartAutopilot" >