Skip to content

Commit

Permalink
Merge branch 'devel' into CB-3508-te-initiate-events-for-execute-quer…
Browse files Browse the repository at this point in the history
…y-and-all-async-tasks
  • Loading branch information
mr-anton-t authored Dec 17, 2024
2 parents da3c181 + 855d591 commit 3deb08b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webapp/packages/core-root/src/SessionResource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ export class SessionResource extends CachedDataResource<SessionState | null> {

async changeLanguage(locale: string): Promise<void> {
await this.load();
if (this.data?.locale === locale) {
//TODO we check "!locale" because of the bug described in CB-6048, should be removed when fixed
if (this.data?.locale === locale || !locale) {
return;
}
await this.graphQLService.sdk.changeSessionLanguage({ locale });
Expand Down

0 comments on commit 3deb08b

Please sign in to comment.