Skip to content

Commit

Permalink
fix: correctly parse numbers when sending values #1128
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Nov 25, 2020
1 parent bba0f06 commit 0f1a97e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ControlPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1355,7 +1355,7 @@ export default {
v.toUpdate = true
if (v.type === 'number') {
v.newValue = parseInt(v.newValue)
v.newValue = Number(v.newValue)
}
// it's a button
Expand Down

0 comments on commit 0f1a97e

Please sign in to comment.