Skip to content

Commit

Permalink
fix(tooltip): tooltipEnable inconsistent value (valor-software#4911)
Browse files Browse the repository at this point in the history
  • Loading branch information
benj0c authored and leo6104 committed Oct 10, 2019
1 parent 45d3efa commit 09f5698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tooltip/tooltip.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export class TooltipDirective implements OnInit, OnDestroy {
@Input('tooltipEnable')
set _enable(value: boolean) {
warnOnce('tooltipEnable was deprecated, please use `isDisabled` instead');
this.isDisabled = value;
this.isDisabled = !value;
}

get _enable(): boolean {
Expand Down

0 comments on commit 09f5698

Please sign in to comment.