Skip to content

Commit

Permalink
Fix changing step of motor controls
Browse files Browse the repository at this point in the history
  • Loading branch information
axelboc committed Jul 24, 2023
1 parent cc57e0f commit 2ba9087
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/components/MotorInput/MotorInput.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export default class MotorInput extends React.Component {
this.props.state === MOTOR_STATE.READY &&
!this.props.inplace ? (
<PopInput
pkey={`${motorName.toLowerCase()}`}
pkey={motorName.toLowerCase()}
value={step}
suffix={suffix}
inputSize="5"
Expand Down Expand Up @@ -197,7 +197,7 @@ export default class MotorInput extends React.Component {
</form>
{this.props.inplace && (
<PopInput
pkey={`${motorName.toLowerCase()}Step`}
pkey={motorName.toLowerCase()}
value={step}
suffix={suffix}
inputSize="5"
Expand Down

0 comments on commit 2ba9087

Please sign in to comment.