[Combined export] Change null values to empty

This commit is contained in:
ShootingStar91
2024-08-02 09:58:11 +03:00
parent 0bfc76ad6a
commit c9f9b8091e
+1
View File
@@ -99,6 +99,7 @@ export const getLocalitySpeciesList = async (lids: number[], user: User) => {
if (typeof value === 'object' && value !== null)
throw new Error('Internal error: Unexpected non-array object in export data')
if (typeof value === 'bigint') return Number(BigInt)
if (value === null) return `""`
return `"${value}"`
}