Skip to content

Commit

Permalink
dont show progressbar with localci
Browse files Browse the repository at this point in the history
  • Loading branch information
BBesrour committed Dec 7, 2024
1 parent 12a74e6 commit dd80d79
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
[showCompletion]="showCompletion"
[estimatedCompletionDate]="estimatedCompletionDate"
[buildStartDate]="buildStartDate"
[showProgressBar]="showProgressBar"
[showProgressBar]="showProgressBarInResult"
[showProgressBarBorder]="showProgressBarBorder"
/>
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export class UpdatingResultComponent implements OnChanges, OnDestroy {
isQueued: boolean;
estimatedCompletionDate?: dayjs.Dayjs;
buildStartDate?: dayjs.Dayjs;
showProgressBarInResult = false;
missingResultInfo = MissingResultInformation.NONE;
public resultSubscription: Subscription;
public submissionSubscription: Subscription;
Expand All @@ -74,6 +75,10 @@ export class UpdatingResultComponent implements OnChanges, OnDestroy {
this.subscribeForNewSubmissions();
}

if (this.submissionService.getIsLocalCIProfile()) {
this.showProgressBarInResult = this.showProgressBar;
}

if (this.result) {
this.showResult.emit();
}
Expand Down

0 comments on commit dd80d79

Please sign in to comment.