diff --git a/UI/BigComponents/SimpleAddUI.ts b/UI/BigComponents/SimpleAddUI.ts index cc2d72e6c..46c252ccb 100644 --- a/UI/BigComponents/SimpleAddUI.ts +++ b/UI/BigComponents/SimpleAddUI.ts @@ -291,7 +291,7 @@ export default class SimpleAddUI extends LoginToggle { layer.layerDef.mapRendering[0] .GenerateLeafletStyle( new ImmutableStore( - isSnapping ? tags : { _referencing_ways: '["way/-1"]', ...tags } + isSnapping ? { _referencing_ways: '["way/-1"]', ...tags } : tags ), false, { noSize: true }