fix external data sources key parsing with double quote strings
This commit is contained in:
parent
f6549b0c7f
commit
85121db2c5
|
@ -24,7 +24,7 @@ exports.generateRowIdField = (keyProps = []) => {
|
||||||
keyProps = [keyProps]
|
keyProps = [keyProps]
|
||||||
}
|
}
|
||||||
// this conserves order and types
|
// this conserves order and types
|
||||||
return encodeURIComponent(JSON.stringify(keyProps).replace(/"/g, ''))
|
return encodeURIComponent(JSON.stringify(keyProps).replace(/"/g, ""))
|
||||||
}
|
}
|
||||||
|
|
||||||
// should always return an array
|
// should always return an array
|
||||||
|
|
Loading…
Reference in New Issue