From 3d38da7b3701a7ff7e3a7b778f8b8c7de52974c4 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Wed, 16 Feb 2022 10:25:18 +0100 Subject: [PATCH] Add workflow notifications to the dashboard --- .../Resources/public/vuejs/HomepageWidget/MyNotifications.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Bundle/ChillMainBundle/Resources/public/vuejs/HomepageWidget/MyNotifications.vue b/src/Bundle/ChillMainBundle/Resources/public/vuejs/HomepageWidget/MyNotifications.vue index 897ea3a9a..06683f8fc 100644 --- a/src/Bundle/ChillMainBundle/Resources/public/vuejs/HomepageWidget/MyNotifications.vue +++ b/src/Bundle/ChillMainBundle/Resources/public/vuejs/HomepageWidget/MyNotifications.vue @@ -66,6 +66,8 @@ export default { return appMessages.fr.the_activity; case 'Chill\\PersonBundle\\Entity\\AccompanyingPeriod': return appMessages.fr.the_course; + case 'Chill\\MainBundle\\Entity\\Workflow\\EntityWorkflow': + return appMessages.fr.the_workflow; default: throw 'notification type unknown'; } @@ -76,6 +78,8 @@ export default { return `/fr/activity/${n.relatedEntityId}/show` case 'Chill\\PersonBundle\\Entity\\AccompanyingPeriod': return `/fr/parcours/${n.relatedEntityId}` + case 'Chill\\MainBundle\\Entity\\Workflow\\EntityWorkflow': + return `/fr/main/workflow/${n.relatedEntityId}/show` default: throw 'notification type unknown'; }