Small fixes

This commit is contained in:
Maksymilian Fryc 2017-08-16 15:58:35 +02:00
parent c2d081dbd7
commit 3f610550f6
3 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,7 @@ import { getChildDebugElement } from '../../../tests/helpers';
import { Component } from '@angular/core';
import { OptionsService, MenuItem } from '../../services/index';
import { compareEndpoints, menuItemsList } from './sort';
import {
inject,
async

View File

@ -16,6 +16,7 @@ import { ScrollService, MenuService, OptionsService, MenuItem } from '../../serv
import { PerfectScrollbar } from '../../shared/components';
import { BrowserDomAdapter as DOM } from '../../utils/browser-adapter';
import { compareEndpoints, menuItemsList } from './sort';
const global = window;
@Component({

View File

@ -431,6 +431,7 @@ export class MenuService {
items: null
};
item.items = this.getTagsItems(item, group);
res.push(item);
}
this.checkAllTagsUsedInGroups();