Skip to content

Commit

Permalink
fix(protocol-designer): fix small condition issues (#17182)
Browse files Browse the repository at this point in the history
* fix(protocol-designer): fix small condition issues
  • Loading branch information
koji authored Jan 8, 2025
1 parent 1ad8589 commit ddf148d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protocol-designer/src/organisms/DefineLiquidsModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ export function DefineLiquidsModal(
saveForm({
name: values.name,
displayColor: values.displayColor,
liquidClass: values.liquidClass ? values.liquidClass : null,
description: values.description ? values.description : null,
liquidClass: values.liquidClass !== '' ? values.liquidClass : null,
description: values.description !== '' ? values.description : null,
serialize: values.serialize ?? false,
})
}
Expand Down

0 comments on commit ddf148d

Please sign in to comment.