Skip to content

Commit 7a41138

Browse files
committed
Update get to return null on else
1 parent d985035 commit 7a41138

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/dialog/tooltip/tooltip.directive.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,7 @@ export class TooltipDirective extends DialogDirective {
5252
@Input("tooltip-type") tooltipType: "warning" | "error" | "" = "";
5353

5454
@HostBinding("attr.aria-describedby") get descriptorId(): string {
55-
if (this.expanded) {
56-
return this.dialogConfig.compID;
57-
}
55+
return this.expanded ? this.dialogConfig.compID : null;
5856
}
5957

6058
/**

0 commit comments

Comments
 (0)