Fix name push bug

This commit is contained in:
JamesKingdom
2017-08-01 16:26:32 +01:00
parent bb744c018c
commit 6cbae830c2
3 changed files with 3 additions and 1 deletions

View File

@@ -1086,6 +1086,7 @@
"key": "name",
"type": "localized",
"label": "Name",
"universal": true,
"placeholder": "Common name (if any)"
},
"natural": {

View File

@@ -2,5 +2,6 @@
"key": "name",
"type": "localized",
"label": "Name",
"universal": true,
"placeholder": "Common name (if any)"
}

View File

@@ -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() {