Skip to content

Commit

Permalink
Merge e313656 into bc0e468
Browse files Browse the repository at this point in the history
  • Loading branch information
lsbbd authored Mar 27, 2021
2 parents bc0e468 + e313656 commit 4f24e54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/space/space.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export class NzSpaceComponent implements OnChanges, OnDestroy, AfterContentInit
private updateSpaceItems(): void {
const numberSize = typeof this.nzSize === 'string' ? SPACE_SIZE[this.nzSize] : this.nzSize;
this.spaceSize = numberSize / (!!this.nzSplit ? 2 : 1);
if (this.nzSpaceItemComponents) {
if (this.nzSpaceItemComponents?.length) {
warnDeprecation('`nz-space-item` in `nz-space` will be removed in 12.0.0, please use `*nzSpaceItem` instead.');
this.nzSpaceItemComponents.forEach(item => {
item.setDirectionAndSize(this.nzDirection, this.spaceSize!);
Expand Down

0 comments on commit 4f24e54

Please sign in to comment.