mirror of
https://github.com/bitwarden/browser
synced 2026-02-09 21:20:27 +00:00
Enabled devtools
This commit is contained in:
@@ -5,8 +5,6 @@ import { MenuItemConstructorOptions } from "electron";
|
||||
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
|
||||
import { MessagingService } from "@bitwarden/common/platform/abstractions/messaging.service";
|
||||
|
||||
import { isDev } from "../../utils";
|
||||
|
||||
import { IMenubarMenu } from "./menubar";
|
||||
|
||||
export class ViewMenu implements IMenubarMenu {
|
||||
@@ -32,9 +30,7 @@ export class ViewMenu implements IMenubarMenu {
|
||||
this.reload,
|
||||
];
|
||||
|
||||
if (isDev()) {
|
||||
items.push(this.toggleDevTools);
|
||||
}
|
||||
items.push(this.toggleDevTools);
|
||||
|
||||
return items;
|
||||
}
|
||||
|
||||
@@ -274,7 +274,7 @@ export class WindowMain {
|
||||
backgroundThrottling: false,
|
||||
contextIsolation: true,
|
||||
session: this.session,
|
||||
devTools: isDev(),
|
||||
devTools: true,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user