From 4649683785ac36320084e6f425cb3e23f053951b Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Mon, 30 Sep 2019 11:37:35 +0300 Subject: [PATCH] fix: clicking on group title breaks first tag fixes #1034 --- src/services/MenuStore.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/services/MenuStore.ts b/src/services/MenuStore.ts index 16119e7e..0626196d 100644 --- a/src/services/MenuStore.ts +++ b/src/services/MenuStore.ts @@ -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);