From 0ae8b64ae2202eba5dc23d33a95ebbdb922fa523 Mon Sep 17 00:00:00 2001 From: Arhey Date: Wed, 19 Oct 2022 01:06:04 +0300 Subject: [PATCH] Update store.js --- src/store.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store.js b/src/store.js index d7b4f8e10..037573228 100644 --- a/src/store.js +++ b/src/store.js @@ -115,7 +115,7 @@ function generateKey(c) { _.pick(c, [ 'id', 'name', - 'native_name', + 'alt_names', 'network', 'country', 'subdivision', @@ -128,7 +128,7 @@ function generateKey(c) { 'replaced_by' ]) ) - const translit = c.native_name ? transliterate(c.native_name) : null + const translit = c.alt_names ? transliterate(c.alt_names) : null return [...data, translit] .map(v => v || '')