X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fapp%2Flayouts%2Fsidebar%2FSidebarComponent.ts;h=c3287787e193be00fec1261afb1aa1314e3ad374;hb=0a34dfa32165036b380ec6ac493469b34007df0a;hp=9cae634652641fc4b8801246027b6a8a18dc0545;hpb=40cc37ef2bbc4aac5debc9dea0baeb6dbd87a2d7;p=osm%2FNG-UI.git diff --git a/src/app/layouts/sidebar/SidebarComponent.ts b/src/app/layouts/sidebar/SidebarComponent.ts index 9cae634..c328778 100644 --- a/src/app/layouts/sidebar/SidebarComponent.ts +++ b/src/app/layouts/sidebar/SidebarComponent.ts @@ -19,10 +19,10 @@ /** * @file Sidebar Component */ +import { isNullOrUndefined } from 'util'; import { Component, Injector, OnInit } from '@angular/core'; import { DeviceCheckService } from 'DeviceCheckService'; import { MENU_ITEMS, MENUITEMS } from 'src/models/MenuModel'; -import { isNullOrUndefined } from 'util'; /** * Creating component @@ -133,6 +133,7 @@ export class SidebarComponent implements OnInit { } /** Hide / Show Menus based on the clicking in the menus @public */ public checkAndCloseSideBar(childExists: boolean): void { + // eslint-disable-next-line deprecation/deprecation event.stopPropagation(); if (this.isMobile$ && !childExists) { this.sideBarOpenClose();