avancement planning
This commit is contained in:
+2
-2
@@ -207,8 +207,8 @@ class NzIconDirective extends IconDirective {
|
||||
this.el = this._elementRef.nativeElement;
|
||||
}
|
||||
ngOnChanges(changes) {
|
||||
const { nzType, nzTwotoneColor, nzTheme, nzRotate } = changes;
|
||||
if (nzType || nzTwotoneColor || nzTheme) {
|
||||
const { nzType, nzTwotoneColor, nzTheme, nzRotate, nzSpin } = changes;
|
||||
if (nzType || nzTwotoneColor || nzTheme || nzSpin) {
|
||||
// This is used to reduce the number of change detections
|
||||
// while the icon is being loaded asynchronously.
|
||||
this.ngZone.runOutsideAngular(() => this.changeIcon2());
|
||||
|
||||
Reference in New Issue
Block a user