1
0
Fork 0
mirror of synced 2024-07-01 04:21:06 +12:00

fix external data sources key parsing with double quote strings

This commit is contained in:
Martin McKeaveney 2021-06-23 23:19:41 +01:00
parent 6857dc08e7
commit 852691f75d

View file

@ -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