add iso codes to phone data

This commit is contained in:
Alex Turchyn
2024-12-03 20:49:28 +02:00
committed by Pete Matsyburka
parent 4737b103c0
commit e3bed5ae67
3 changed files with 224 additions and 6 deletions
@@ -180,8 +180,8 @@ export default {
},
computed: {
countries () {
return phoneData.map(([name, dial, flag, tz]) => {
return { name, dial, flag, tz }
return phoneData.map(([iso, name, dial, flag, tz]) => {
return { iso, name, dial, flag, tz }
})
},
countriesDialIndex () {