Skip to content

Commit

Permalink
Round value of emergency stop timer
Browse files Browse the repository at this point in the history
  • Loading branch information
g3force committed Jun 27, 2022
1 parent 675862e commit 83ee28b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/ControlButtons.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const requestRobotSubstitution = (request: boolean) => api?.Send({
:can-request="canRequestEmergencyStop"
:requested="emergencyStopRequested"
text="Emergency Stop"
:text-requested="`Cancel Emergency Stop (${state.emergencyStopIn} s left)`"
:text-requested="`Cancel Emergency Stop (${Math.round(state.emergencyStopIn)} s left)`"
@request="requestEmergencyStop"
/>
<RequestButton
Expand Down

0 comments on commit 83ee28b

Please sign in to comment.