mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-23 04:34:15 -04:00
(fix) use for-of instead of for-in
This commit is contained in:
parent
999281fea9
commit
760636ad2f
@ -36,7 +36,7 @@ export default ({ app, store }) => {
|
||||
if (app.$config.locale !== '_') {
|
||||
yield [app.$config.locale, process.env.LOCALES[app.$config.locale]];
|
||||
}
|
||||
for (const [locale, localeDescription] in Object.entries(process.env.LOCALES)) {
|
||||
for (const [locale, localeDescription] of Object.entries(process.env.LOCALES)) {
|
||||
if (locale !== app.$config.locale) {
|
||||
yield [locale, localeDescription];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user