Skip to content

Commit

Permalink
fix(module:popover): fix popover nzTemplate value (#1608)
Browse files Browse the repository at this point in the history
  • Loading branch information
vthinkxie committed Jun 6, 2018
1 parent 8a1a9ca commit 7cf6ee1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions components/popover/nz-popover.component.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {
Component,
ContentChild,
Input,
TemplateRef
} from '@angular/core';
import { fadeAnimation } from '../core/animation/fade-animations';
Expand All @@ -20,6 +19,6 @@ import { NzToolTipComponent } from '../tooltip/nz-tooltip.component';
})
export class NzPopoverComponent extends NzToolTipComponent {
_prefix = 'ant-popover-placement';
_title: string | TemplateRef<void>;
@ContentChild('neverUsedTemplate') _title: string | TemplateRef<void>; // used to remove NzToolTipComponent @ContentChild('nzTemplate')
@ContentChild('nzTemplate') _content: string | TemplateRef<void>;
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"karma-cli": "~1.0.1",
"marked": "^0.3.6",
"node-prismjs": "^0.1.1",
"ngx-color": "^1.2.1",
"ngx-color": "^1.5.2",
"prismjs": "^1.10.0",
"remark": "^8.0.0",
"rollup": "^0.49.2",
Expand Down

0 comments on commit 7cf6ee1

Please sign in to comment.