strip double quotes and use single in ID
This commit is contained in:
parent
852691f75d
commit
1a6b46e678
|
@ -24,7 +24,7 @@ exports.generateRowIdField = (keyProps = []) => {
|
|||
keyProps = [keyProps]
|
||||
}
|
||||
// this conserves order and types
|
||||
return encodeURIComponent(JSON.stringify(keyProps).replace(/"/g, ""))
|
||||
return encodeURIComponent(JSON.stringify(keyProps).replace(/"/g, "'"))
|
||||
}
|
||||
|
||||
// should always return an array
|
||||
|
|
Loading…
Reference in New Issue