Skip to content

Commit

Permalink
Merge pull request #207 from hoomano/xbasset/fix-nav-tab-webapp-workflow
Browse files Browse the repository at this point in the history
bug: fix nav tab on workflow when previously executed go to result
  • Loading branch information
KellyRousselHoomano authored Jul 31, 2024
2 parents 01d5074 + 678eaa4 commit 4a6b447
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webapp/modules/Tasks/components/TaskExecutionDetail/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ const TaskExecutionDetail = () => {
if (currentTask?.task_type !== "workflow") {
setSelectedTab("result");
} else {
if (editorDetails.producedTextPk) {
if (currentTask?.produced_text_pk) {
setSelectedTab("result");
} else {
setSelectedTab("process");
Expand Down Expand Up @@ -495,4 +495,4 @@ const TaskExecutionDetail = () => {
);
};

export default TaskExecutionDetail;
export default TaskExecutionDetail;

0 comments on commit 4a6b447

Please sign in to comment.