diff --git a/dashboard/sharedComponents/page-content/page-content.component.ts b/dashboard/sharedComponents/page-content/page-content.component.ts index fb032f08..4a2274fb 100644 --- a/dashboard/sharedComponents/page-content/page-content.component.ts +++ b/dashboard/sharedComponents/page-content/page-content.component.ts @@ -50,7 +50,7 @@ export class PageContentComponent implements OnInit, AfterViewInit, OnDestroy { } get isStickyActive() { - if(this.header && this.actions) { + if(this.header && this.actions && this.shouldSticky) { let sticky = (this.headerSticky)?this.header.nativeElement:this.actions.nativeElement; return UIkit.sticky(sticky).isActive; } else {