Skip to content

Commit

Permalink
fix(module:progress): fix nzFormat not shown status is exception (#5136)
Browse files Browse the repository at this point in the history
* fix(module:progress): fix nzFormat not shown status is exception

close #5130

* fix: fix parenthesis
  • Loading branch information
wendell authored Apr 26, 2020
1 parent 8714ec7 commit 654411e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/progress/progress.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const defaultFormatter: NzProgressFormatter = (p: number): string => `${p}%`;
template: `
<ng-template #progressInfoTemplate>
<span class="ant-progress-text" *ngIf="nzShowInfo">
<ng-container *ngIf="status === 'exception' || (status === 'success' && !nzFormat); else formatTemplate">
<ng-container *ngIf="(status === 'exception' || status === 'success') && !nzFormat; else formatTemplate">
<i nz-icon [nzType]="icon"></i>
</ng-container>
<ng-template #formatTemplate>
Expand Down

0 comments on commit 654411e

Please sign in to comment.