diff --git a/lib/services/menu.service.ts b/lib/services/menu.service.ts index 4459a252..d470facb 100644 --- a/lib/services/menu.service.ts +++ b/lib/services/menu.service.ts @@ -200,6 +200,9 @@ export class MenuService { setActiveByHash(hash) { if (!hash) { + if (this.categories[0].headless) { + this.activate(0, 0); + } return; } let catIdx, methodIdx; diff --git a/lib/services/schema-helper.service.ts b/lib/services/schema-helper.service.ts index c01e1fd6..642ac585 100644 --- a/lib/services/schema-helper.service.ts +++ b/lib/services/schema-helper.service.ts @@ -28,6 +28,7 @@ export interface MenuCategory { empty?: string; virtual?: boolean; ready: boolean; + headless: boolean; } // global var for this module