mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-01 11:26:59 +00:00
better paste handle
This commit is contained in:
@@ -352,7 +352,7 @@ export default function convertCellData(
|
||||
.map((k) => k.trim())
|
||||
if (geoValue.length === 2) {
|
||||
if (!isNaN(Number(geoValue[0])) && !isNaN(Number(geoValue[1]))) {
|
||||
return geoValue.map((k) => Number(k).toFixed(10)).join(';')
|
||||
return geoValue.map((k) => Number(k).toFixed(10).replace(/[0]+$/, '')).join(';')
|
||||
}
|
||||
}
|
||||
throw new SilentTypeConversionError()
|
||||
|
||||
Reference in New Issue
Block a user