Przeglądaj źródła

Merge pull request #152 from smiclea/fix-status-id

Fix showing execution's status instead of ID
Dorin Paslaru 8 lat temu
rodzic
commit
a762419480
1 zmienionych plików z 1 dodań i 4 usunięć
  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()}