summaryrefslogtreecommitdiffhomepage
path: root/gui/src
diff options
context:
space:
mode:
Diffstat (limited to 'gui/src')
-rw-r--r--gui/src/renderer/app.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/src/renderer/app.tsx b/gui/src/renderer/app.tsx
index 79163af67b..ccb06f33e3 100644
--- a/gui/src/renderer/app.tsx
+++ b/gui/src/renderer/app.tsx
@@ -910,7 +910,9 @@ export default class AppRenderer {
expiry !== undefined &&
expiry !== previousExpiry &&
((state.account.status.expiredState === undefined && expired) ||
- (state.account.status.expiredState === 'expired' && !expired))
+ (state.account.status.expiredState === 'expired' && !expired)) &&
+ // If the login navigation is already scheduled no navigation is needed
+ !this.loginScheduler.isRunning
) {
const prevPath = this.history.location.pathname as RoutePath;
const nextPath = expired ? RoutePath.expired : RoutePath.timeAdded;