mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-20 20:53:37 +00:00
make tag value icons work for translatable strings, too
This commit is contained in:
@@ -491,6 +491,7 @@ export function uiFieldCombo(field, context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function updateIcon(value) {
|
function updateIcon(value) {
|
||||||
|
value = tagValue(value);
|
||||||
if (valueIcons[field.key]) {
|
if (valueIcons[field.key]) {
|
||||||
_container.selectAll('.tag-value-icon').remove();
|
_container.selectAll('.tag-value-icon').remove();
|
||||||
var iconSelector = _container.selectAll('.tag-value-icon')
|
var iconSelector = _container.selectAll('.tag-value-icon')
|
||||||
|
|||||||
Reference in New Issue
Block a user