forked from MapComplete/MapComplete
Refactoring: port import flow
This commit is contained in:
parent
8ed4da4e9d
commit
ace7caada1
48 changed files with 852 additions and 574 deletions
|
@ -414,6 +414,9 @@ class GetParsed implements ExtraFunction {
|
|||
if (value === undefined) {
|
||||
return undefined
|
||||
}
|
||||
if(typeof value !== "string"){
|
||||
return value
|
||||
}
|
||||
try {
|
||||
const parsed = JSON.parse(value)
|
||||
if (parsed === null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue