diff --git a/src/components/notifications/Comment.vue b/src/components/notifications/Comment.vue index df173fd..31cfc42 100644 --- a/src/components/notifications/Comment.vue +++ b/src/components/notifications/Comment.vue @@ -3,7 +3,7 @@ class="notification | bg-white rounded-lg | p-16 | flow" :data-status="notification.isread == true ? 'read' : 'unread'" data-type="comment" - @click="read(notification)" + @click="router.push(notification.location.dialoguri + '&comments=true')" >

@@ -37,8 +37,10 @@ diff --git a/src/components/notifications/Content.vue b/src/components/notifications/Content.vue index c87a812..e61e495 100644 --- a/src/components/notifications/Content.vue +++ b/src/components/notifications/Content.vue @@ -3,7 +3,10 @@ class="notification | bg-white rounded-lg | p-16 | flow" :data-status="notification.isread == 'true' ? 'read' : 'unread'" data-type="content" - @click="read(notification)" + @click=" + read(notification); + router.push(notification.location.page.uri); + " title="Aller au contenu" >