mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-12-01 04:24:02 +01:00
Fix double icon rendering.
This commit is contained in:
@@ -73,6 +73,7 @@ class EncoderSubscriber implements EventSubscriberInterface
|
||||
if ($value instanceof Icon) {
|
||||
// Do not encode the icon, as it is generated in an separate icon file.
|
||||
$event->setSuccessful();
|
||||
$event->stopPropagation();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user