Skip to content

Commit

Permalink
Remove ternary for setting focusability based on index.
Browse files Browse the repository at this point in the history
  • Loading branch information
Henning Klasén committed Aug 13, 2020
1 parent a19ac03 commit f4aae29
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@ export class FilterTagGroupComponent implements AfterContentInit, OnDestroy {
}

setFilterTagTabFocusability() {
this.filterTags.forEach((x, i) => {
const focusable = i ? false : true;
x.makeTabFocusable(focusable);
this.filterTags.forEach((x) => {
x.makeTabFocusable(true);
});
}

Expand Down

0 comments on commit f4aae29

Please sign in to comment.