Skip to content

Commit

Permalink
Add getRoute to extend feature in e
Browse files Browse the repository at this point in the history
  • Loading branch information
avatus committed Jan 22, 2025
1 parent fba3cd3 commit 777f0fc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions web/packages/teleport/src/features.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,11 @@ export class FeatureRoles implements TeleportFeature {
};

showInDashboard = true;
// getRoute allows child class extending this
// parent class to refer to this parent's route.
getRoute() {
return this.route;
}
}

export class FeatureAuthConnectors implements TeleportFeature {
Expand Down

0 comments on commit 777f0fc

Please sign in to comment.