Skip to content

Commit

Permalink
fix display name in article form
Browse files Browse the repository at this point in the history
  • Loading branch information
xtian7489 committed Aug 28, 2024
1 parent 1ad4754 commit 4c38cc8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/components/pacto/form/articleForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ const ArticleForm = forwardRef(({ article, moveArticleUp, moveArticleDown, toggl
clientId: article.clientId,
text_es: summary_es_ref.current.getMarkdown(),
text_pt: summary_pt_ref.current.getMarkdown(),
}
if(deleted) output.deleted = true
if(articleId) output._id = articleId
output.notInteractive = notInteractive
notInteractive: notInteractive,
};
if (deleted) output.deleted = true;
if (articleId) output._id = articleId;
return output
},
getCurrentTextEs() {
Expand Down Expand Up @@ -106,5 +106,6 @@ const ArticleForm = forwardRef(({ article, moveArticleUp, moveArticleDown, toggl
)
})

ArticleForm.displayName = "ArticleForm";

export default ArticleForm;

0 comments on commit 4c38cc8

Please sign in to comment.