string based keyProps not being parsed properly by handlebars
This commit is contained in:
parent
4af9574178
commit
f6549b0c7f
|
@ -24,7 +24,7 @@ exports.generateRowIdField = (keyProps = []) => {
|
|||
keyProps = [keyProps]
|
||||
}
|
||||
// this conserves order and types
|
||||
return encodeURIComponent(JSON.stringify(keyProps))
|
||||
return encodeURIComponent(JSON.stringify(keyProps).replace(/"/g, ''))
|
||||
}
|
||||
|
||||
// should always return an array
|
||||
|
|
Loading…
Reference in New Issue