@@ -303,6 +303,7 @@ export class CustomMenubarControl extends MenubarControl {
303303 private readonly _onVisibilityChange : Emitter < boolean > ;
304304 private readonly _onFocusStateChange : Emitter < boolean > ;
305305
306+ // NOTE@coder : add logService (used in logout)
306307 constructor (
307308 @IMenuService menuService : IMenuService ,
308309 @IWorkspacesService workspacesService : IWorkspacesService ,
@@ -318,14 +319,9 @@ export class CustomMenubarControl extends MenubarControl {
318319 @IAccessibilityService accessibilityService : IAccessibilityService ,
319320 @IThemeService private readonly themeService : IThemeService ,
320321 @IWorkbenchLayoutService private readonly layoutService : IWorkbenchLayoutService ,
321- < < < << << HEAD
322- @IHostService protected readonly hostService : IHostService ,
322+ @IHostService hostService : IHostService ,
323323 @ICommandService commandService : ICommandService ,
324324 @ILogService private readonly logService : ILogService
325- = = === ==
326- @IHostService hostService : IHostService ,
327- @ICommandService commandService : ICommandService
328- > >>> >>> 58 ce849223667f77dc0d6d7658870ca3f815e17f
329325 ) {
330326 super ( menuService , workspacesService , contextKeyService , keybindingService , configurationService , labelService , updateService , storageService , notificationService , preferencesService , environmentService , accessibilityService , hostService , commandService ) ;
331327
@@ -728,7 +724,7 @@ export class CustomMenubarControl extends MenubarControl {
728724 }
729725
730726 webNavigationActions . push ( new Action ( 'logout' , localize ( 'logout' , "Log out" ) , undefined , true ,
731- async ( event ?: MouseEvent ) => {
727+ async ( _event ?: any ) => {
732728 const COOKIE_KEY = Cookie . Key ;
733729 const loginCookie = getCookieValue ( COOKIE_KEY ) ;
734730
0 commit comments