mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 07:13:32 +00:00
Noop notifications for dev (#6671)
* Noop notifications for dev We rarely have notifications set up for development environments, this removes the error messages related to missing server notification services * Log actions in noop service * Add line breaks * Improve log messages * Ignore local config at all levels
This commit is contained in:
@@ -8,7 +8,9 @@ export type SharedFlags = {
|
||||
|
||||
// required to avoid linting errors when there are no flags
|
||||
/* eslint-disable @typescript-eslint/ban-types */
|
||||
export type SharedDevFlags = {};
|
||||
export type SharedDevFlags = {
|
||||
noopNotifications: boolean;
|
||||
};
|
||||
|
||||
function getFlags<T>(envFlags: string | T): T {
|
||||
if (typeof envFlags === "string") {
|
||||
|
||||
Reference in New Issue
Block a user