1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 07:13:32 +00:00

[PM-7662] Suppress welcome window on install when extension is in dev mode (#8864)

* suppress welcome window on install when extension is in dev mode

* use platformUtilsService.isDev instead of process.env.ENV

* use devFlags.skipWelcomeOnInstall instead of platformUtilsService.isDev

* update old dev_flags casing in base configs
This commit is contained in:
Jonathan Prusik
2024-05-06 15:25:41 -04:00
committed by GitHub
parent 425c7914b0
commit 6c21223466
5 changed files with 10 additions and 6 deletions

View File

@@ -10,6 +10,7 @@ export type SharedFlags = {
// eslint-disable-next-line @typescript-eslint/ban-types
export type SharedDevFlags = {
noopNotifications: boolean;
skipWelcomeOnInstall: boolean;
};
function getFlags<T>(envFlags: string | T): T {