From e2dd677b40edbfe628130a29d3d7ef9da2b3f496 Mon Sep 17 00:00:00 2001 From: Dev Date: Fri, 24 May 2024 23:23:59 +0100 Subject: [PATCH] Fixed `getLocalesGlobal()` not correctly falling back to english when locale not found --- project/src/callbacks/DataCallbacks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/src/callbacks/DataCallbacks.ts b/project/src/callbacks/DataCallbacks.ts index d12491f1..6e403518 100644 --- a/project/src/callbacks/DataCallbacks.ts +++ b/project/src/callbacks/DataCallbacks.ts @@ -177,7 +177,7 @@ export class DataCallbacks if (result === undefined) { - result = tables.locales.global[localeId]; + result = tables.locales.global["en"]; } return this.httpResponse.getUnclearedBody(result);