Screen lock feature added to all other screens 93/114893/1
authorKishore Reddy Dwaram <kishore.reddy.dwaram@att.com>
Fri, 13 Nov 2020 21:08:01 +0000 (16:08 -0500)
committerKishore Reddy Dwaram <kishore.reddy.dwaram@att.com>
Fri, 13 Nov 2020 21:08:17 +0000 (16:08 -0500)
Issue-ID: PORTAL-1044
Signed-off-by: Kishore Reddy Dwaram <kishore.reddy.dwaram@att.com>
Change-Id: I9b7b998c970918f45c3af3f28964a7eb84bc6d94

portal-FE-os/src/app/pages/pages.module.ts

index c63614a..a921257 100644 (file)
@@ -56,7 +56,7 @@ import { FunctionalMenuComponent } from './functional-menu/functional-menu.compo
 import { GridsterModule } from 'angular-gridster2';
 import { InformationModalComponent } from '../modals/information-modal/information-modal.component';
 import { NgMaterialModule } from '../ng-material-module';
-import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
+import { NgbModalConfig, NgbModule } from '@ng-bootstrap/ng-bootstrap';
 import { NewPortalAdminComponent } from './portal-admins/new-portal-admin/new-portal-admin.component';
 import { NotificationHistoryComponent } from './notification-history/notification-history.component';
 import { PagesComponent } from './pages.component';
@@ -272,8 +272,10 @@ import { RunReportComponent } from './analytics/Report_List/Report/run/run-repor
 })
 export class PagesModule {
 
-  constructor(public ngbModalService: NgbModal) {
+  constructor(public ngbModalService: NgbModal, configModal: NgbModalConfig) {
     this.addSchdulerEventListners();
+    configModal.backdrop = 'static';
+    configModal.keyboard = false;
   }