From 6a774a92ea576273843ec902ea91b6f4a9e0e49d Mon Sep 17 00:00:00 2001 From: Bharath Kumar Date: Fri, 16 Aug 2024 16:17:14 +0530 Subject: [PATCH] changes in the maintanance --- src/app/component/app-nav-bar/app-nav-bar.component.ts | 6 ++++-- src/app/header/header/header.component.ts | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/app/component/app-nav-bar/app-nav-bar.component.ts b/src/app/component/app-nav-bar/app-nav-bar.component.ts index 46fd5d623..488a60805 100755 --- a/src/app/component/app-nav-bar/app-nav-bar.component.ts +++ b/src/app/component/app-nav-bar/app-nav-bar.component.ts @@ -17,8 +17,10 @@ import { UrlService } from 'src/app/shared/url.service' export class AppNavBarComponent implements OnInit, OnChanges { @Input() mode: 'top' | 'bottom' = 'top' @Input() headerFooterConfigData: any +// tslint:disable-next-line:indent @Output() infoBlockAction = new EventEmitter() - infoBlockEnable : boolean = true + + infoBlockEnable = true hideKPOnNav = false basicBtnAppsConfig: NsWidgetResolver.IRenderConfigWithTypedData = { widgetType: 'actionButton', @@ -378,7 +380,7 @@ export class AppNavBarComponent implements OnInit, OnChanges { return { ...item, forPreview: !this.isforPreview, enableLang: this.enableLang } } - infoBlockActionMethod(){ + infoBlockActionMethod() { this.infoBlockEnable = !this.infoBlockEnable this.infoBlockAction.emit(this.infoBlockEnable) } diff --git a/src/app/header/header/header.component.ts b/src/app/header/header/header.component.ts index 7b74776c6..b26e1cd93 100644 --- a/src/app/header/header/header.component.ts +++ b/src/app/header/header/header.component.ts @@ -15,7 +15,7 @@ export class HeaderComponent implements OnInit { isNavBarRequired = true showNavbar = true widgetData = {} - infoBlockEnable: boolean = true + infoBlockEnable = true mobileTopHeaderVisibilityStatus = true @Input() mode: any @Input() headerFooterConfigData: any