mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-07 03:41:33 +00:00
Fix name push bug
This commit is contained in:
@@ -1086,6 +1086,7 @@
|
||||
"key": "name",
|
||||
"type": "localized",
|
||||
"label": "Name",
|
||||
"universal": true,
|
||||
"placeholder": "Common name (if any)"
|
||||
},
|
||||
"natural": {
|
||||
|
||||
@@ -2,5 +2,6 @@
|
||||
"key": "name",
|
||||
"type": "localized",
|
||||
"label": "Name",
|
||||
"universal": true,
|
||||
"placeholder": "Common name (if any)"
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ export function uiPreset(context) {
|
||||
field.show = show;
|
||||
|
||||
field.shown = function() {
|
||||
return field.id === 'name' || field.show || _.some(field.keys, function(key) { return !!tags[key]; });
|
||||
return field.id === '' || field.show || _.some(field.keys, function(key) { return !!tags[key]; });
|
||||
};
|
||||
|
||||
field.modified = function() {
|
||||
|
||||
Reference in New Issue
Block a user