message: WIP: only set current page if the url has at least two parts
diff: @@ -35,7 +35,7 @@ export class ComponentsComponent implements OnInit {
  route: ['input'],
  },
  ];
  - route: any;
  + route = '';
  constructor(
  private router: Router,
  @@ -51,8 +51,10 @@ export class ComponentsComponent implements OnInit {
  */
  setCurrentPage(): void {
  const routeParts = this.router.routerState.snapshot.url.split('/');
  + if (routeParts.length > 2) {
  this.route = routeParts[routeParts.length - 1];
  }
  + }
  /**
  