Rename isoCode to tag (cause they are IETF tags actually)

This commit is contained in:
Denis Perov 2022-04-21 19:14:30 +03:00
parent f40b0d495d
commit c858e0b796
5 changed files with 83 additions and 83 deletions

View file

@ -116,7 +116,7 @@ Template.userFormsLayout.helpers({
languages() {
return TAPi18n.getSupportedLanguages()
.map(({ isoCode, name }) => ({ tag: isoCode, name }))
.map(({ tag, name }) => ({ tag: tag, name }))
.sort((a, b) => {
if (a.name === b.name) {
return 0;