From ea3e126579c956ff7d6bbfe1275c6f1f45034c5a Mon Sep 17 00:00:00 2001 From: Developer <> Date: Sun, 28 Feb 2021 19:24:42 -0500 Subject: [PATCH] Fixed issue with Notification status url 'to' value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Fixed: - issue with Notification status url 'to' value --- .../gabsocial/components/notification.js | 27 +++++++++---------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/app/javascript/gabsocial/components/notification.js b/app/javascript/gabsocial/components/notification.js index 2cd9e397..4768a20f 100644 --- a/app/javascript/gabsocial/components/notification.js +++ b/app/javascript/gabsocial/components/notification.js @@ -93,8 +93,8 @@ class Notification extends ImmutablePureComponent { ) } - const DateWrapperContainer = !!status ? NavLink : Dummy const statusUrl = !!status ? status.get('uri') : '/' + const DateWrapperContainer = !!status && !!statusUrl ? NavLink : Dummy const containerClasses = CX({ d: 1, @@ -147,20 +147,17 @@ class Notification extends ImmutablePureComponent { {' '} {message} - { - !!statusUrl && - - - - - - - - - } + + + + + + + + {