Skip to content

Commit

Permalink
fix(module:table): fix nzWidthConfig in nzTemplateMode
Browse files Browse the repository at this point in the history
close #3957
  • Loading branch information
vthinkxie committed Aug 12, 2019
1 parent 904aacb commit 1d79a4f
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 1d79a4f

Please sign in to comment.