diff --git a/src/app/core/animations.ts b/src/app/core/animations.ts index d6f3ff61..65e7a622 100644 --- a/src/app/core/animations.ts +++ b/src/app/core/animations.ts @@ -1,6 +1,4 @@ -import { sequence, trigger, stagger, animate, style, group, query, transition, keyframes, animateChild, state } from '@angular/animations'; - -// const query = (s, a, o = {optional: true}) => q(s, a, o); +import { sequence, trigger, animate, style, group, query, transition, animateChild, state } from '@angular/animations'; export class Animations { diff --git a/src/app/core/directives/fuse-if-on-dom/fuse-if-on-dom.directive.ts b/src/app/core/directives/fuse-if-on-dom/fuse-if-on-dom.directive.ts index 3854c0f9..b7042968 100644 --- a/src/app/core/directives/fuse-if-on-dom/fuse-if-on-dom.directive.ts +++ b/src/app/core/directives/fuse-if-on-dom/fuse-if-on-dom.directive.ts @@ -21,7 +21,7 @@ export class FuseIfOnDomDirective implements AfterContentChecked { setTimeout(() => { this.viewContainer.createEmbeddedView(this.templateRef); - }, 0); + }, 350); this.isCreated = true; } else if ( this.isCreated && !document.body.contains(this.element.nativeElement) ) diff --git a/src/app/core/directives/fuse-perfect-scrollbar/fuse-perfect-scrollbar.directive.ts b/src/app/core/directives/fuse-perfect-scrollbar/fuse-perfect-scrollbar.directive.ts index d3b734be..b1b42b41 100644 --- a/src/app/core/directives/fuse-perfect-scrollbar/fuse-perfect-scrollbar.directive.ts +++ b/src/app/core/directives/fuse-perfect-scrollbar/fuse-perfect-scrollbar.directive.ts @@ -35,12 +35,12 @@ export class FusePerfectScrollbarDirective implements OnInit, AfterViewInit, OnD } } - ngOnInit(): void + ngOnInit() { } - ngAfterViewInit(): void + ngAfterViewInit() { if ( this.isMobile || this.isDisableCustomScrollbars ) { @@ -55,7 +55,7 @@ export class FusePerfectScrollbarDirective implements OnInit, AfterViewInit, OnD }); } - ngOnDestroy(): void + ngOnDestroy() { if ( !this.isInitialized ) { diff --git a/src/app/main/content/apps/chat/chat-view/chat-view.component.ts b/src/app/main/content/apps/chat/chat-view/chat-view.component.ts index ecc14037..92c7bce4 100644 --- a/src/app/main/content/apps/chat/chat-view/chat-view.component.ts +++ b/src/app/main/content/apps/chat/chat-view/chat-view.component.ts @@ -72,11 +72,12 @@ export class FuseChatViewComponent implements OnInit, AfterViewInit speed = speed || 400; if ( this.directiveScroll ) { + this.directiveScroll.update(); + setTimeout(() => { this.directiveScroll.scrollToBottom(0, speed); }); } - } reply(event) diff --git a/src/app/main/content/apps/dashboards/project/project.component.html b/src/app/main/content/apps/dashboards/project/project.component.html index 3a38494d..d8dc13a5 100644 --- a/src/app/main/content/apps/dashboards/project/project.component.html +++ b/src/app/main/content/apps/dashboards/project/project.component.html @@ -282,7 +282,6 @@ [xAxisLabel]="widget5.supporting.xAxisLabel" [yAxisLabel]="widget5.supporting.yAxisLabel" [curve]="widget5.supporting.curve"> - >