Skip to content

Commit

Permalink
fix: Fix the error when downloading pipeline logs. (#1441) (#4158)
Browse files Browse the repository at this point in the history
Signed-off-by: yazhou <yazhouhu@yunify.com>
  • Loading branch information
yazhouio committed Jul 7, 2023
1 parent 43ff751 commit 8394ad4
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ import FullLogs from './FullLogs'
export default class PipelineLog extends React.Component {
constructor(props) {
super(props)
/**
* @type {RunStore}
*/
this.store = new RunStore()

this.reaction = reaction(
Expand All @@ -55,6 +58,7 @@ export default class PipelineLog extends React.Component {
async componentDidMount() {
await this.getPipelineIndexLog()
this.handleExpandErrorStep()
this.store.getRunDetail(this.props.params)
}

@computed
Expand Down

0 comments on commit 8394ad4

Please sign in to comment.