Skip to content

Commit 532ae14

Browse files
author
Akash Satheesan
committed
fix(lib/vscode): conflicts in menubarControl.ts
1 parent 81357cf commit 532ae14

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

lib/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -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-
>>>>>>> 58ce849223667f77dc0d6d7658870ca3f815e17f
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

Comments
 (0)