Skip to content

Commit

Permalink
fix(module:list): empty content is always rendered (#5266)
Browse files Browse the repository at this point in the history
close #5260
  • Loading branch information
hsuanxyz authored May 13, 2020
1 parent 6c57866 commit ca7314c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/list/list.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export class NzListComponent implements AfterContentInit, OnChanges, OnDestroy {
static ngAcceptInputType_nzLoading: BooleanInput;
static ngAcceptInputType_nzSplit: BooleanInput;

@Input() nzDataSource: NzSafeAny[] = [];
@Input() nzDataSource?: NzSafeAny[];
@Input() @InputBoolean() nzBordered = false;
@Input() nzGrid?: NzListGrid;
@Input() nzHeader?: string | TemplateRef<void>;
Expand Down

0 comments on commit ca7314c

Please sign in to comment.