summaryrefslogtreecommitdiffhomepage
path: root/gui/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'gui/src/shared')
-rw-r--r--gui/src/shared/notifications/close-to-account-expiry.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/gui/src/shared/notifications/close-to-account-expiry.ts b/gui/src/shared/notifications/close-to-account-expiry.ts
index 3cf3d82826..b30aff2542 100644
--- a/gui/src/shared/notifications/close-to-account-expiry.ts
+++ b/gui/src/shared/notifications/close-to-account-expiry.ts
@@ -13,7 +13,6 @@ import {
interface CloseToAccountExpiryNotificationContext {
accountExpiry: string;
locale: string;
- tooSoon?: boolean;
}
export class CloseToAccountExpiryNotificationProvider
@@ -25,9 +24,7 @@ export class CloseToAccountExpiryNotificationProvider
moment().add(3, 'days'),
);
- return (
- !hasExpired(this.context.accountExpiry) && willHaveExpiredInThreeDays && !this.context.tooSoon
- );
+ return !hasExpired(this.context.accountExpiry) && willHaveExpiredInThreeDays;
}
public getSystemNotification(): SystemNotification {