Skip to content

Commit

Permalink
FWF-3739:[Feature]-Unpublish state update fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Josephalexantony-aot committed Oct 22, 2024
1 parent cca39aa commit d9c275a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forms-flow-web/src/components/Form/Item/Edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ const Edit = React.memo(() => {
};

const handlePublish = () => {
if (processListData.status === "active") {
if (isPublished) {
openUnpublishModal();
}
else {
Expand Down

0 comments on commit d9c275a

Please sign in to comment.