Skip to content

Commit

Permalink
Default to empty string for undefined form values
Browse files Browse the repository at this point in the history
  • Loading branch information
daryllimyt committed Jan 13, 2025
1 parent bb451b4 commit c18a988
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/workbench/panel/action-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ enum SaveState {
const parseYaml = (str: string | undefined) =>
str ? YAML.parse(str) : undefined
const stringifyYaml = (obj: unknown | undefined) =>
obj ? YAML.stringify(obj) : undefined
obj ? YAML.stringify(obj) : ""

export function ActionPanel({
actionId,
Expand Down

0 comments on commit c18a988

Please sign in to comment.