angular cli

This commit is contained in:
lotte
2020-03-18 16:03:40 +01:00
parent 41969ec3b1
commit 8bf241c182
503 changed files with 5303 additions and 9574 deletions

View File

@@ -8,7 +8,6 @@ import { GenericConstructor } from '../../core/shared/generic-constructor';
import { hasValue } from '../empty.util';
import { MenuSectionComponent } from './menu-section/menu-section.component';
import { getComponentForMenu } from './menu-section.decorator';
import Timer = NodeJS.Timer;
/**
* A basic implementation of a MenuComponent
@@ -61,7 +60,7 @@ export class MenuComponent implements OnInit {
/**
* Timer to briefly delay the sidebar preview from opening or closing
*/
private previewTimer: Timer;
private previewTimer;
constructor(protected menuService: MenuService, protected injector: Injector) {
}
@@ -78,8 +77,8 @@ export class MenuComponent implements OnInit {
sections.forEach((section: MenuSection) => {
this.sectionInjectors.set(section.id, this.getSectionDataInjector(section));
this.getSectionComponent(section).pipe(first()).subscribe((constr) => this.sectionComponents.set(section.id, constr));
})
})
});
});
}
/**