-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(module:progress): fix nzFormat not shown status is exception #5136
Conversation
This preview will be available after the AzureCI is passed. |
It seems to me that this is adjustment rather than a bug fix. |
Codecov Report
@@ Coverage Diff @@
## master #5136 +/- ##
=======================================
Coverage 91.46% 91.47%
=======================================
Files 547 547
Lines 13747 13768 +21
Branches 2130 2137 +7
=======================================
+ Hits 12574 12594 +20
+ Misses 708 707 -1
- Partials 465 467 +2
Continue to review full report at Codecov.
|
@@ -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"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<ng-container *ngIf="(status === 'exception' || status === 'success') && !nzFormat); else formatTemplate"> | |
<ng-container *ngIf="((status === 'exception' || status === 'success') && !nzFormat); else formatTemplate"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
…ZORRO#5136) * fix(module:progress): fix nzFormat not shown status is exception close NG-ZORRO#5130 * fix: fix parenthesis
close #5130
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information