Skip to content

Commit

Permalink
fix(tabs): marks root directive and elementref as readonly in brn-tri…
Browse files Browse the repository at this point in the history
…gger
  • Loading branch information
thatsamsonkid committed Jan 8, 2024
1 parent 311d28c commit f38ff4e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libs/ui/tabs/brain/src/lib/brn-tabs-trigger.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ import { BrnTabsDirective } from './brn-tabs.directive';
},
})
export class BrnTabsTriggerDirective {
private _root = inject(BrnTabsDirective);
public elementRef = inject(ElementRef);
public readonly elementRef = inject(ElementRef);

private readonly _root = inject(BrnTabsDirective);
private _key: string | undefined;

protected contentId: string | undefined;
protected labelId: string | undefined;
protected readonly _orientation = this._root.$orientation;
Expand Down

0 comments on commit f38ff4e

Please sign in to comment.