From 8e569142d5707e91f8c11a84f6105c7e16b027b7 Mon Sep 17 00:00:00 2001 From: pbca26 Date: Fri, 7 Jul 2017 19:45:29 +0300 Subject: [PATCH] show spinner --- .../notifications/notifications.render.js | 50 +++++++++---------- 1 file changed, 23 insertions(+), 27 deletions(-) diff --git a/react/src/components/dashboard/notifications/notifications.render.js b/react/src/components/dashboard/notifications/notifications.render.js index 0a386d8..93c57b6 100644 --- a/react/src/components/dashboard/notifications/notifications.render.js +++ b/react/src/components/dashboard/notifications/notifications.render.js @@ -88,33 +88,29 @@ export const NotificationsModalRender = function() { }; export const NotificationsRender = function() { - if (this.state.debug) { - return ( -
-
- - { this.state.calls.success } - - - { this.state.calls.error } - - - { this.state.calls.pending } - -
-
-
-
-
-
-
+ return ( +
+
+ + { this.state.calls.success } + + + { this.state.calls.error } + + + { this.state.calls.pending } + +
+
+
+
+
+
- { this.renderNotificationsModal() }
- ); - } else { - return null; - } + { this.renderNotificationsModal() } +
+ ); }; \ No newline at end of file