Skip to content

Commit ac18a58

Browse files
committed
Swapped out ternary operator with OR
1 parent bb0ac25 commit ac18a58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/cells/plugins/core/float_cell.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def min
1616
end
1717

1818
def step
19-
field.validations[:step] ? field.validations[:step] : "0.01"
19+
field.validations[:step] || 0.01
2020
end
2121

2222
def input_display

0 commit comments

Comments
 (0)