mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-04 05:58:09 +02:00
omit 'name' from taglist
This commit is contained in:
@@ -134,7 +134,7 @@ iD.ui.TagEditor = function() {
|
||||
if (presetUI && tagList) {
|
||||
name.property('value', tags.name || '');
|
||||
presetUI.change(tags);
|
||||
tagList.tags(_.omit(tags, _.keys(presetUI.tags() || {})));
|
||||
tagList.tags(_.omit(tags, _.keys(presetUI.tags() || {}).concat(['name'])));
|
||||
}
|
||||
return tageditor;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user