Fix the notification dashboard widget to include task related notifications

This commit is contained in:
2025-09-29 15:44:49 +02:00
parent 13a4795333
commit 2434d91e4a
2 changed files with 8 additions and 1 deletions

View File

@@ -37,7 +37,7 @@ class NotificationNormalizer implements NormalizerAwareInterface, NormalizerInte
->find($object->getRelatedEntityId());
return [
'type' => 'notification',
'type' => $object->getType(),
'id' => $object->getId(),
'addressees' => $this->normalizer->normalize($object->getAddressees(), $format, $context),
'date' => $this->normalizer->normalize($object->getDate(), $format, $context),