Skip to content

Commit

Permalink
fix(module:timeline): fix loading icon (NG-ZORRO#2386)
Browse files Browse the repository at this point in the history
  • Loading branch information
hsuanxyz authored and vthinkxie committed Nov 24, 2018
1 parent a3e0f02 commit 646ae6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/timeline/nz-timeline.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<li *ngIf="nzPending" class="ant-timeline-item ant-timeline-item-pending">
<div class="ant-timeline-item-tail"></div>
<div class="ant-timeline-item-head ant-timeline-item-head-custom ant-timeline-item-head-blue">
<i nz-icon type="spin anticon-loading"></i>
<i nz-icon type="loading"></i>
</div>
<div class="ant-timeline-item-content">
<ng-container *ngIf="isPendingString; else pendingTemplate">{{ isPendingBoolean ? '' : nzPending }}</ng-container>
Expand Down
3 changes: 2 additions & 1 deletion components/timeline/nz-timeline.module.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';

import { NzIconModule } from '../icon/nz-icon.module';
import { NzTimelineItemComponent } from './nz-timeline-item.component';
import { NzTimelineComponent } from './nz-timeline.component';

@NgModule({
declarations: [ NzTimelineItemComponent, NzTimelineComponent ],
exports : [ NzTimelineItemComponent, NzTimelineComponent ],
imports : [ CommonModule ]
imports : [ CommonModule, NzIconModule ]
})
export class NzTimelineModule {
}

0 comments on commit 646ae6e

Please sign in to comment.