1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-11 14:04:03 +00:00

Only show fake popup to devs

This commit is contained in:
Anders Åberg
2024-10-28 16:35:01 +01:00
parent cf8d5b2146
commit a09a471d1e

View File

@@ -7,7 +7,7 @@ import { firstValueFrom } from "rxjs";
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
import { DesktopSettingsService } from "../platform/services/desktop-settings.service";
import { cleanUserAgent } from "../utils";
import { cleanUserAgent, isDev } from "../utils";
import { WindowMain } from "./window.main";
@@ -47,6 +47,7 @@ export class TrayMain {
click: () => this.toggleWindow(),
},
{
visible: isDev(),
label: "Fake Popup",
click: () => this.fakePopup(),
},