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 and Ricbet committed Apr 9, 2020
1 parent 998af43 commit ca73dee
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 ca73dee

Please sign in to comment.