diff options
| -rw-r--r-- | desktop/packages/mullvad-vpn/src/shared/notifications/inconsistent-version.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/desktop/packages/mullvad-vpn/src/shared/notifications/inconsistent-version.ts b/desktop/packages/mullvad-vpn/src/shared/notifications/inconsistent-version.ts index e4f7a8ddc1..4cfed9f777 100644 --- a/desktop/packages/mullvad-vpn/src/shared/notifications/inconsistent-version.ts +++ b/desktop/packages/mullvad-vpn/src/shared/notifications/inconsistent-version.ts @@ -17,7 +17,10 @@ export class InconsistentVersionNotificationProvider { public constructor(private context: InconsistentVersionNotificationContext) {} - public mayDisplay = () => !this.context.consistent; + public mayDisplay = () => + !this.context.consistent && + process.env.NODE_ENV !== undefined && + process.env.NODE_ENV !== 'development'; public getSystemNotification(): SystemNotification { return { |
