forked from Snck3rs/contao-leaflet-maps
Fix double icon rendering.
This commit is contained in:
@@ -73,6 +73,7 @@ class EncoderSubscriber implements EventSubscriberInterface
|
|||||||
if ($value instanceof Icon) {
|
if ($value instanceof Icon) {
|
||||||
// Do not encode the icon, as it is generated in an separate icon file.
|
// Do not encode the icon, as it is generated in an separate icon file.
|
||||||
$event->setSuccessful();
|
$event->setSuccessful();
|
||||||
|
$event->stopPropagation();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user