Skip to content

Commit

Permalink
wip(connect-explorer): allow false in method testing tool
Browse files Browse the repository at this point in the history
  • Loading branch information
mroz22 committed Oct 2, 2024
1 parent 69aa37b commit 6f1c240
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/connect-explorer/src/reducers/methodCommon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ export const getParam = (field: FieldBasic<any>, $params: Record<string, any> =
if (field.omit) {
return params;
}
if (field.optional && ((!field.value && field.value !== 0) || field.value === '')) {
return params;
}
// if (field.optional && ((!field.value && field.value !== 0) || field.value === '')) {
// return params;
// }

let value: any;
if ('defaultValue' in field) {
Expand Down

0 comments on commit 6f1c240

Please sign in to comment.