Skip to content

Commit

Permalink
FullCompassCalibrator: only show cancel button when calibrating
Browse files Browse the repository at this point in the history
  • Loading branch information
Williangalvani authored and patrickelectric committed Oct 11, 2024
1 parent 32e3a77 commit 9502170
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
Dismiss
</v-btn>
<RebootButton />
<v-btn color="red" :disabled="state !== states.CALIBRATING" @click="cancelCalibration()">
<v-btn v-if="state == states.CALIBRATING" color="red" @click="cancelCalibration()">
Cancel
</v-btn>
</v-card-actions>
Expand Down

0 comments on commit 9502170

Please sign in to comment.