From 61fd98341f76b2b7a2a3814408e38af35bd028ee Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 22 Mar 2021 09:49:23 +0100 Subject: [PATCH] Fix mention notification with deleted comment --- .../users/user-notifications.component.html | 32 ++++++++++++------- server/tests/api/moderation/blocklist.ts | 2 +- 2 files changed, 21 insertions(+), 13 deletions(-) diff --git a/client/src/app/shared/shared-main/users/user-notifications.component.html b/client/src/app/shared/shared-main/users/user-notifications.component.html index 91a4c8dc3..265af8d55 100644 --- a/client/src/app/shared/shared-main/users/user-notifications.component.html +++ b/client/src/app/shared/shared-main/users/user-notifications.component.html @@ -90,9 +90,7 @@ - - - + @@ -100,15 +98,15 @@ - + - +
The notification concerns a comment now unavailable
-
+ @@ -157,13 +155,23 @@ - - - + + + + - + + + + + + +
+ The notification concerns a comment now unavailable +
+
diff --git a/server/tests/api/moderation/blocklist.ts b/server/tests/api/moderation/blocklist.ts index 8c9107a50..e8202aff1 100644 --- a/server/tests/api/moderation/blocklist.ts +++ b/server/tests/api/moderation/blocklist.ts @@ -107,7 +107,7 @@ describe('Test blocklist', function () { let userToken2: string before(async function () { - this.timeout(60000) + this.timeout(120000) servers = await flushAndRunMultipleServers(3) await setAccessTokensToServers(servers)