Skip to content

Commit 0a39811

Browse files
committed
fix: double increment and decrement.
1 parent 87a46a2 commit 0a39811

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/routes/(console)/project-[region]-[project]/databases/database-[database]/table-[table]/rows/columns/types/integer.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@
3131
min={column.min}
3232
max={column.max}
3333
required={column.required}
34-
step={column.type === 'double' ? 'any' : 1}
34+
step={column.type === 'double' ? 0.1 : 1}
3535
leadingIcon={!limited ? IconHashtag : undefined} />

src/routes/(console)/project-[region]-[project]/databases/database-[database]/table-[table]/spreadsheet.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@
297297
switch (type) {
298298
case 'string':
299299
return IconText;
300-
case 'float':
300+
case 'double':
301301
case 'integer':
302302
return IconHashtag;
303303
case 'boolean':

0 commit comments

Comments
 (0)