mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-05 19:46:51 +00:00
Merge pull request #4915 from gitstart/NCDBOSS-14
fix: Decimal Auto Type Section on Excel Import
This commit is contained in:
@@ -158,7 +158,7 @@ export default class ExcelTemplateAdapter extends TemplateGenerator {
|
||||
}
|
||||
} else if (column.uidt === UITypes.Number) {
|
||||
if (
|
||||
rows.slice(1, this.config.maxRowsToParse).every((v: any) => {
|
||||
rows.slice(1, this.config.maxRowsToParse).some((v: any) => {
|
||||
return v && v[col] && parseInt(v[col]) !== +v[col]
|
||||
})
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user