mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-28 02:42:36 +02:00
isHighwayIntersection only applies to nodes, so remove from osmEntity (#10831)
This commit is contained in:
@@ -78,7 +78,7 @@ export function uiSectionPresetFields(context) {
|
||||
});
|
||||
|
||||
var singularEntity = _entityIDs.length === 1 && graph.hasEntity(_entityIDs[0]);
|
||||
if (singularEntity && singularEntity.isHighwayIntersection(graph) && presetsManager.field('restrictions')) {
|
||||
if (singularEntity && singularEntity.type === 'node' && singularEntity.isHighwayIntersection(graph) && presetsManager.field('restrictions')) {
|
||||
_fieldsArr.push(
|
||||
uiField(context, presetsManager.field('restrictions'), _entityIDs)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user