From 6ab9a3204b183fddd9747a065a2479f134c9bd10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Thu, 15 Aug 2019 11:07:57 +0200 Subject: [PATCH] Fix the backend test --- .../src/schema/types/type/Notification.gql | 1 + webapp/components/Editor/Editor.vue | 30 +++++++++++-------- 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/backend/src/schema/types/type/Notification.gql b/backend/src/schema/types/type/Notification.gql index e4bc16fec..0f94c2301 100644 --- a/backend/src/schema/types/type/Notification.gql +++ b/backend/src/schema/types/type/Notification.gql @@ -3,5 +3,6 @@ type Notification { read: Boolean user: User @relation(name: "NOTIFIED", direction: "OUT") post: Post @relation(name: "NOTIFIED", direction: "IN") + comment: Comment @relation(name: "NOTIFIED", direction: "IN") createdAt: String } diff --git a/webapp/components/Editor/Editor.vue b/webapp/components/Editor/Editor.vue index 063e6df75..d0a434ef0 100644 --- a/webapp/components/Editor/Editor.vue +++ b/webapp/components/Editor/Editor.vue @@ -18,7 +18,9 @@
{{ $t('editor.hashtag.addHashtag') }}
-
#{{ query }}
+
+ #{{ query }} +
@@ -28,19 +30,19 @@
-
{{ $t('editor.mention.noUsersFound') }}
+
+ {{ $t('editor.mention.noUsersFound') }} +
-
{{ $t('editor.hashtag.noHashtagsFound') }}
+
+ {{ $t('editor.hashtag.noHashtagsFound') }} +
{{ $t('editor.hashtag.addHashtag') }}
-
#{{ query }}
+
+ #{{ query }} +
@@ -126,14 +128,18 @@ size="small" :ghost="!isActive.heading({ level: 3 })" @click.prevent="commands.heading({ level: 3 })" - >H3 + > + H3 + H4 + > + H4 +