Skip to content

Commit

Permalink
core:frontend: Add check disable restart autopilot
Browse files Browse the repository at this point in the history
* Add a new check to avoid restart autopilot button to still available
  when powering down or rebooting
  • Loading branch information
JoaoMario109 authored and patrickelectric committed Mar 19, 2024
1 parent b8e47d6 commit 8d64e73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/frontend/src/components/app/PowerMenu.vue
Expand Up @@ -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"
>
<v-icon
Expand Down

0 comments on commit 8d64e73

Please sign in to comment.