Просмотр исходного кода

Fix showing execution's status instead of ID

Fix an issue where execution's status is shown instead of execution's
ID.
Sergiu Miclea 8 лет назад
Родитель
Сommit
d38d8c9158
1 измененных файлов с 1 добавлено и 4 удалено
  1. 1 4
      src/components/organisms/Executions/index.jsx

+ 1 - 4
src/components/organisms/Executions/index.jsx

@@ -236,10 +236,7 @@ class Executions extends React.Component<Props, State> {
         <ExecutionInfoId>
           ID:&nbsp;<CopyValue
             width="107px"
-            value={
-              // $FlowIssue
-              this.state.selectedExecution.status
-            }
+            value={this.state.selectedExecution ? this.state.selectedExecution.id : ''}
           />
         </ExecutionInfoId>
         {this.renderExecutionInfoButton()}