Skip to content

Commit

Permalink
fix(ui): display outgoing hook when fails without child run (#5297)
Browse files Browse the repository at this point in the history
  • Loading branch information
richardlt authored Jul 7, 2020
1 parent 74e167a commit d752efe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</span>
</ng-container>
<ng-container *ngSwitchCase="'Workflow'">
<ng-container *ngIf="noderun && noderun.callback && (
<ng-container *ngIf="noderun?.callback?.workflow_run_number && (
noderun.callback.status === pipelineStatus.BUILDING ||
noderun.callback.status === pipelineStatus.SUCCESS ||
noderun.callback.status === pipelineStatus.FAIL )">
Expand Down
6 changes: 6 additions & 0 deletions ui/src/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ pre {
.key {
color: red;
}

white-space: -moz-pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
white-space: pre-wrap;
word-wrap: break-word;
}

// View style
Expand Down

0 comments on commit d752efe

Please sign in to comment.