Skip to content

Commit

Permalink
fix(module:timeline): fix loading icon
Browse files Browse the repository at this point in the history
close #2377
  • Loading branch information
hsuanxyz committed Oct 31, 2018
1 parent 3b8f9ea commit 256e3f9
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';
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 256e3f9

Please sign in to comment.