dbeaver/pro#7397 feat: reload after session expire (#4043)

Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
This commit is contained in:
Alexey Potsetsuev
2026-01-13 22:54:08 +08:00
committed by GitHub
co-authored by Daria Marutkina
parent 1c56d55462
commit 244479cd06
@@ -1,6 +1,6 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2025 DBeaver Corp and others
* Copyright (C) 2020-2026 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
@@ -46,6 +46,7 @@ export class SessionExpireService extends Bootstrap {
this.graphQLService.blockRequests(e);
this.isExpired = true;
this.onSessionExpire.execute();
window.location.reload();
}
private async sessionExpiredInterceptor(request: Promise<any>): Promise<any> {