Skip to content

Commit

Permalink
fix(module:sider): fix typo - isSiderTrgger to isSiderTrigger (#1434)
Browse files Browse the repository at this point in the history
  • Loading branch information
lmsreborn authored and vthinkxie committed May 17, 2018
1 parent c91a0f8 commit f1f26ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/layout/nz-sider.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export type NzBreakPoint = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
<span class="ant-layout-sider-zero-width-trigger" *ngIf="isZeroTrigger" (click)="toggleCollapse()">
<i class="anticon anticon-bars"></i>
</span>
<div class="ant-layout-sider-trigger" *ngIf="isSiderTrgger" (click)="toggleCollapse()" [style.width.px]="nzCollapsed?nzCollapsedWidth:nzWidth">
<div class="ant-layout-sider-trigger" *ngIf="isSiderTrigger" (click)="toggleCollapse()" [style.width.px]="nzCollapsed?nzCollapsedWidth:nzWidth">
<ng-template [ngTemplateOutlet]="nzTrigger"></ng-template>
</div>
<ng-template #defaultTrigger>
Expand Down Expand Up @@ -150,7 +150,7 @@ export class NzSiderComponent implements OnInit, AfterViewInit {
return this.nzCollapsible && this.nzTrigger && (this.nzCollapsedWidth === 0) && ((this.nzBreakpoint && this.below) || (!this.nzBreakpoint));
}

get isSiderTrgger(): boolean {
get isSiderTrigger(): boolean {
return this.nzCollapsible && this.nzTrigger && (this.nzCollapsedWidth !== 0);
}

Expand Down

0 comments on commit f1f26ad

Please sign in to comment.