From f38c56fa7d39044db788b6283bfa91af71a8e553 Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Mon, 18 Jul 2022 00:46:58 +0300 Subject: [PATCH] Fix a bug with sticky condition in page-content --- .../sharedComponents/page-content/page-content.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {