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 { Component } from '@angular/core';
import { OptionsService, MenuItem } from '../../services/index'; import { OptionsService, MenuItem } from '../../services/index';
import { compareEndpoints, menuItemsList } from './sort'; import { compareEndpoints, menuItemsList } from './sort';
import { import {
inject, inject,
async async

View File

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

View File

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