From 61e4bca803bdd11e04484437170a1ef98d93e3f0 Mon Sep 17 00:00:00 2001 From: Chris Brame <polonel@gmail.com> Date: Mon, 4 Mar 2019 23:32:31 -0500 Subject: [PATCH] fix(ui): bug displaying view all notifications --- src/client/containers/Topbar/notificationsDropdown.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/containers/Topbar/notificationsDropdown.jsx b/src/client/containers/Topbar/notificationsDropdown.jsx index e4dc708b7..a9f76fbc6 100644 --- a/src/client/containers/Topbar/notificationsDropdown.jsx +++ b/src/client/containers/Topbar/notificationsDropdown.jsx @@ -80,7 +80,7 @@ class NotificationsDropdownPartial extends React.Component { </a> } footerComponent={ - <div className={'uk-text-center'}> + <div className={'uk-text-center' + (this.notifications.length < 1 ? ' hide' : '')}> <a className={'no-ajaxy hoverUnderline'} onClick={this.props.onViewAllNotificationsClick}> View All Notifications </a>