Skip to content

Commit 4a6b447

Browse files
Merge pull request #207 from hoomano/xbasset/fix-nav-tab-webapp-workflow
bug: fix nav tab on workflow when previously executed go to result
2 parents 01d5074 + 678eaa4 commit 4a6b447

File tree

1 file changed

+2
-2
lines changed
  • webapp/modules/Tasks/components/TaskExecutionDetail

1 file changed

+2
-2
lines changed

webapp/modules/Tasks/components/TaskExecutionDetail/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ const TaskExecutionDetail = () => {
197197
if (currentTask?.task_type !== "workflow") {
198198
setSelectedTab("result");
199199
} else {
200-
if (editorDetails.producedTextPk) {
200+
if (currentTask?.produced_text_pk) {
201201
setSelectedTab("result");
202202
} else {
203203
setSelectedTab("process");
@@ -495,4 +495,4 @@ const TaskExecutionDetail = () => {
495495
);
496496
};
497497

498-
export default TaskExecutionDetail;
498+
export default TaskExecutionDetail;

0 commit comments

Comments
 (0)