Browse Source

string based keyProps not being parsed properly by handlebars

pull/4023/head
Martin McKeaveney 5 years ago
parent
commit
6857dc08e7
  1. 2
      packages/server/src/integrations/utils.js

2
packages/server/src/integrations/utils.js

@ -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…
Cancel
Save