@@ -303,6 +303,7 @@ export class CustomMenubarControl extends MenubarControl {
303
303
private readonly _onVisibilityChange : Emitter < boolean > ;
304
304
private readonly _onFocusStateChange : Emitter < boolean > ;
305
305
306
+ // NOTE@coder : add logService (used in logout)
306
307
constructor (
307
308
@IMenuService menuService : IMenuService ,
308
309
@IWorkspacesService workspacesService : IWorkspacesService ,
@@ -318,14 +319,9 @@ export class CustomMenubarControl extends MenubarControl {
318
319
@IAccessibilityService accessibilityService : IAccessibilityService ,
319
320
@IThemeService private readonly themeService : IThemeService ,
320
321
@IWorkbenchLayoutService private readonly layoutService : IWorkbenchLayoutService ,
321
- < < < << << HEAD
322
- @IHostService protected readonly hostService : IHostService ,
322
+ @IHostService hostService : IHostService ,
323
323
@ICommandService commandService : ICommandService ,
324
324
@ILogService private readonly logService : ILogService
325
- = = === ==
326
- @IHostService hostService : IHostService ,
327
- @ICommandService commandService : ICommandService
328
- > >>> >>> 58 ce849223667f77dc0d6d7658870ca3f815e17f
329
325
) {
330
326
super ( menuService , workspacesService , contextKeyService , keybindingService , configurationService , labelService , updateService , storageService , notificationService , preferencesService , environmentService , accessibilityService , hostService , commandService ) ;
331
327
@@ -728,7 +724,7 @@ export class CustomMenubarControl extends MenubarControl {
728
724
}
729
725
730
726
webNavigationActions . push ( new Action ( 'logout' , localize ( 'logout' , "Log out" ) , undefined , true ,
731
- async ( event ?: MouseEvent ) => {
727
+ async ( _event ?: any ) => {
732
728
const COOKIE_KEY = Cookie . Key ;
733
729
const loginCookie = getCookieValue ( COOKIE_KEY ) ;
734
730
0 commit comments