Skip to content

Commit

Permalink
fix(module:list): fix the avatar part old API (#4952)
Browse files Browse the repository at this point in the history
close #4912
  • Loading branch information
hsuanxyz committed Mar 30, 2020
1 parent a5d2e2b commit d8a2594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/list/list-item-meta-cell.ts
Expand Up @@ -37,7 +37,7 @@ export class NzListItemMetaDescriptionComponent {}
exportAs: 'nzListItemMetaAvatar',
template: `
<div class="ant-list-item-meta-avatar">
<nz-avatar [nzSrc]="nzSrc"></nz-avatar>
<nz-avatar *ngIf="nzSrc" [nzSrc]="nzSrc"></nz-avatar>
<ng-content *ngIf="!nzSrc"></ng-content>
</div>
`,
Expand Down

0 comments on commit d8a2594

Please sign in to comment.