feat: add BreadcrumbComponent to ApplicationLayoutComponent

pull/4377/head
Arman Ozak 5 years ago
parent 8cd85a4d44
commit 50d513d001

@ -50,5 +50,6 @@
[@slideFromBottom]="outlet?.isActivated && outlet.activatedRoute?.routeConfig?.path" [@slideFromBottom]="outlet?.isActivated && outlet.activatedRoute?.routeConfig?.path"
class="container" class="container"
> >
<abp-breadcrumb></abp-breadcrumb>
<router-outlet #outlet="outlet"></router-outlet> <router-outlet #outlet="outlet"></router-outlet>
</div> </div>

@ -1,7 +1,6 @@
import { eLayoutType, takeUntilDestroy } from '@abp/ng.core'; import { eLayoutType, takeUntilDestroy } from '@abp/ng.core';
import { collapseWithMargin, slideFromBottom } from '@abp/ng.theme.shared'; import { collapseWithMargin, slideFromBottom } from '@abp/ng.theme.shared';
import { AfterViewInit, Component, OnDestroy } from '@angular/core'; import { AfterViewInit, Component, OnDestroy } from '@angular/core';
import { Store } from '@ngxs/store';
import { fromEvent } from 'rxjs'; import { fromEvent } from 'rxjs';
import { debounceTime } from 'rxjs/operators'; import { debounceTime } from 'rxjs/operators';
import { eThemeBasicComponents } from '../../enums/components'; import { eThemeBasicComponents } from '../../enums/components';
@ -25,8 +24,6 @@ export class ApplicationLayoutComponent implements AfterViewInit, OnDestroy {
navItemsComponentKey = eThemeBasicComponents.NavItems; navItemsComponentKey = eThemeBasicComponents.NavItems;
constructor(private store: Store) {}
private checkWindowWidth() { private checkWindowWidth() {
setTimeout(() => { setTimeout(() => {
if (window.innerWidth < 992) { if (window.innerWidth < 992) {

Loading…
Cancel
Save