Skip to content

Commit

Permalink
fix(module:table): fix nzWidthConfig in nzTemplateMode (NG-ZORRO#3958)
Browse files Browse the repository at this point in the history
  • Loading branch information
vthinkxie authored Aug 12, 2019
1 parent bd611d1 commit 2326eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/table/nz-table.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ import { NzVirtualScrollDirective } from './nz-virtual-scroll.directive';
encapsulation: ViewEncapsulation.None,
templateUrl: './nz-table.component.html',
host: {
'[class.ant-table-empty]': 'data.length === 0'
'[class.ant-table-empty]': 'data.length === 0 && !nzTemplateMode'
},
styles: [
`
Expand Down

0 comments on commit 2326eb7

Please sign in to comment.