Remove unnecessary getStep for datetime/time condition

This commit is contained in:
Jose Gomez 2022-07-21 09:45:36 -04:00 committed by Gustav Hansen
parent 612112e499
commit 8e5364b54d

View File

@ -3,10 +3,6 @@ const getStep = (type) => {
if (type === 'float' || type === 'decimal') {
step = 0.01;
} else if (type === 'time' || type === 'datetime') {
// Since we cannot set a value that is not in the list of the time picker, we need to set the step to 1
// TODO: Fix the timepicker in order to be able to set any value regardless of the list
step = 1;
} else {
step = 1;
}