fix: clicking on group title breaks first tag

fixes #1034
This commit is contained in:
Roman Hotsiy 2019-09-30 11:37:35 +03:00
parent 67e2a8fb79
commit 4649683785
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -201,6 +201,11 @@ export class MenuStore {
if ((this.activeItem && this.activeItem.id) === (item && item.id)) { if ((this.activeItem && this.activeItem.id) === (item && item.id)) {
return; return;
} }
if (item && item.type === 'group') {
return;
}
this.deactivate(this.activeItem); this.deactivate(this.activeItem);
if (!item) { if (!item) {
this.history.replace('', rewriteHistory); this.history.replace('', rewriteHistory);