Skip to content

Commit

Permalink
Merge pull request #1958 from shmax/boost-fixes
Browse files Browse the repository at this point in the history
Fix group boosts
  • Loading branch information
Gerrit0 committed Jun 25, 2022
2 parents ba58696 + 2e7a34c commit c4973eb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib/output/plugins/JavascriptIndexPlugin.ts
Expand Up @@ -73,11 +73,11 @@ export class JavascriptIndexPlugin extends RendererComponent {
kinds[reflection.kind] = GroupPlugin.getKindSingular(
reflection.kind
);
}

const kindBoost = kindBoosts[kinds[reflection.kind] ?? ""];
if (kindBoost != undefined) {
boost *= kindBoost;
}
const kindBoost = kindBoosts[kinds[reflection.kind] ?? ""];
if (kindBoost != undefined) {
boost *= kindBoost;
}

const row: any = {
Expand Down

0 comments on commit c4973eb

Please sign in to comment.