mirror of
https://github.com/Redocly/redoc.git
synced 2025-01-31 10:04:08 +03:00
fix: first menu item keeps always selected
This commit is contained in:
parent
392ac71eb4
commit
1fb6967064
|
@ -192,7 +192,7 @@ export class MenuStore {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.activeItemIdx = item.absoluteIdx || -1;
|
this.activeItemIdx = item.absoluteIdx!;
|
||||||
if (updateHash) {
|
if (updateHash) {
|
||||||
HistoryService.update(item.getHash(), rewriteHistory);
|
HistoryService.update(item.getHash(), rewriteHistory);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user