mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
CB-5010 fix: ensure session opened (#2566)
This commit is contained in:
@@ -73,6 +73,7 @@ export class SessionResource extends CachedDataResource<SessionState | null> {
|
||||
}
|
||||
|
||||
async changeLanguage(locale: string): Promise<void> {
|
||||
await this.load();
|
||||
if (this.data?.locale === locale) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user