Skip to content

Commit

Permalink
Merge pull request #2498 from Josephalexantony-aot/Feature/FWF-4210-F…
Browse files Browse the repository at this point in the history
…low-History-revert

FWF-4210:[Feature] - Flow history button disabling on published state.
  • Loading branch information
arun-s-aot authored Jan 9, 2025
2 parents 953b6ba + 23e7842 commit 8c3bf39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forms-flow-web/src/components/Form/EditForm/FlowEdit.js
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ const FlowEdit = forwardRef(({ isPublished = false, CategoryType,
categoryType={CategoryType.WORKFLOW}
revertBtnAction={fetchHistoryData}
historyCount={historiesData?.totalCount || 0}
disableAllRevertButton={processData.status === "Published"}
disableAllRevertButton={processData.status === "Published" || isPublished }
/>
{showTaskVarModal && (
<TaskVariableModal
Expand Down

0 comments on commit 8c3bf39

Please sign in to comment.