fix: use display.locale not display for locale value

This commit is contained in:
Alexis Tyler
2021-05-17 11:12:14 +09:30
parent ff71575c3e
commit 98432a4059

View File

@@ -53,7 +53,7 @@ export const getDisplay = async function (context: CoreContext): Promise<Result>
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 {