From 98432a4059263aee6e7d0b94eeb1fa9d6ef4e3eb Mon Sep 17 00:00:00 2001 From: Alexis Tyler Date: Mon, 17 May 2021 11:12:14 +0930 Subject: [PATCH] fix: use display.locale not display for locale value --- app/core/modules/info/get-display.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/core/modules/info/get-display.ts b/app/core/modules/info/get-display.ts index c5cb1e930..ff4eaa62a 100644 --- a/app/core/modules/info/get-display.ts +++ b/app/core/modules/info/get-display.ts @@ -53,7 +53,7 @@ export const getDisplay = async function (context: CoreContext): Promise critical: Number.parseInt(display.critical, 10), hot: Number.parseInt(display.hot, 10), max: Number.parseInt(display.max, 10), - locale: display ?? 'en_us' + locale: display.locale ?? 'en_us' }; return {