diff --git a/client/admin/admin.jsx b/client/admin/admin.jsx index f675ff37a..f2f2667a4 100644 --- a/client/admin/admin.jsx +++ b/client/admin/admin.jsx @@ -33,13 +33,13 @@ const Admin = createClass({ homebrewery admin -
-
+
+
+ {this.state.currentTab==='brew' && } {this.state.currentTab==='notifications' && } -
+ ; } }); diff --git a/client/admin/notificationUtils/notificationLookup/notificationLookup.jsx b/client/admin/notificationUtils/notificationLookup/notificationLookup.jsx index cddc0c9d3..ff33e7554 100644 --- a/client/admin/notificationUtils/notificationLookup/notificationLookup.jsx +++ b/client/admin/notificationUtils/notificationLookup/notificationLookup.jsx @@ -129,7 +129,7 @@ const NotificationLookup = () => { } return ( -
+
{notifications.map((notification) => (
{notification.title || 'No Title'} diff --git a/client/admin/notificationUtils/notificationUtils.jsx b/client/admin/notificationUtils/notificationUtils.jsx index e3cf87d37..2e2c4b634 100644 --- a/client/admin/notificationUtils/notificationUtils.jsx +++ b/client/admin/notificationUtils/notificationUtils.jsx @@ -5,11 +5,10 @@ const NotificationAdd = require('./notificationAdd/notificationAdd.jsx'); const NotificationUtils = () => { return ( - <> +
-
- +
); };