diff --git a/apps/tutorial/app/components/selection.gts b/apps/tutorial/app/components/selection.gts index 351806db4..81c07cd2a 100644 --- a/apps/tutorial/app/components/selection.gts +++ b/apps/tutorial/app/components/selection.gts @@ -29,8 +29,10 @@ export class Selection extends Component { this.router.transitionTo(event.target.value); }; - isSelected = ({ path }: { path: string }) => { - return this.docs.currentPath === path; + isSelected = (group: { path: string }, tutorial: { path: string }) => { + const fullPath = `/${group.path}/${tutorial.path}`; + + return this.docs.currentPath === fullPath; };