We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcf3e38 commit 6d7060bCopy full SHA for 6d7060b
src/components/FlatParameters/FlatParameters.tsx
@@ -227,7 +227,7 @@ export function FlatParameters({
227
if (param.name === inEditionParam && uncommitted !== null) {
228
return uncommitted;
229
}
230
- if (Object.hasOwn(initValues, param.name)) {
+ if (initValues && Object.hasOwn(initValues, param.name)) {
231
if (param.type === 'BOOLEAN') {
232
// on the server side, we only store String, so we eventually need to convert before
233
return initValues[param.name] === 'false'
0 commit comments