mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-12 16:35:49 +01:00
🐛 Fix pull request issues
This commit is contained in:
@@ -26,8 +26,7 @@
|
||||
"select": "Select {{city}}, {{countryCode}}"
|
||||
},
|
||||
"population": {
|
||||
"fallback": "Unknown",
|
||||
"count": "{{count}} people"
|
||||
"fallback": "Unknown"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -196,9 +196,7 @@ const CitySelectModal = ({ opened, closeModal, query, onCitySelected }: CitySele
|
||||
</td>
|
||||
<td>
|
||||
{city.population ? (
|
||||
<Text style={{ whiteSpace: 'nowrap' }}>
|
||||
{t('modal.table.population.count', { count: city.population })}
|
||||
</Text>
|
||||
<Text style={{ whiteSpace: 'nowrap' }}>{city.population}</Text>
|
||||
) : (
|
||||
<Text color="dimmed"> {t('modal.table.population.fallback')}</Text>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user