Skip to content

Commit

Permalink
fix: clicking on group title breaks first tag
Browse files Browse the repository at this point in the history
fixes #1034
  • Loading branch information
RomanHotsiy committed Sep 30, 2019
1 parent 67e2a8f commit 4649683
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/services/MenuStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4649683

Please sign in to comment.