fix: first menu item keeps always selected

This commit is contained in:
Roman Hotsiy 2018-01-16 16:33:27 +02:00
parent 392ac71eb4
commit 1fb6967064
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -192,7 +192,7 @@ export class MenuStore {
return;
}
this.activeItemIdx = item.absoluteIdx || -1;
this.activeItemIdx = item.absoluteIdx!;
if (updateHash) {
HistoryService.update(item.getHash(), rewriteHistory);
}