mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-26 02:23:43 +03:00
parent
67e2a8fb79
commit
4649683785
|
@ -201,6 +201,11 @@ export class MenuStore {
|
|||
if ((this.activeItem && this.activeItem.id) === (item && item.id)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (item && item.type === 'group') {
|
||||
return;
|
||||
}
|
||||
|
||||
this.deactivate(this.activeItem);
|
||||
if (!item) {
|
||||
this.history.replace('', rewriteHistory);
|
||||
|
|
Loading…
Reference in New Issue
Block a user