Skip to content

Commit

Permalink
fix(engages): save & draft button is not working
Browse files Browse the repository at this point in the history
close #2038
  • Loading branch information
batamar committed May 29, 2020
1 parent 0f021d7 commit d00a97a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/modules/engage/components/FormBase.tsx
Expand Up @@ -84,7 +84,7 @@ class FormBase extends React.Component<Props> {
};
}

if (docType === 'draft ') {
if (docType === 'draft') {
return {
status: 'ok',
doc: { isLive: false, isDraft: true, ...doc }
Expand Down

0 comments on commit d00a97a

Please sign in to comment.