Explorar o código

made definitial clearly

akira-s %!s(int64=6) %!d(string=hai) anos
pai
achega
2c7d280a76
Modificáronse 1 ficheiros con 1 adicións e 5 borrados
  1. 1 5
      src/client/js/components/Admin/UserManagement.jsx

+ 1 - 5
src/client/js/components/Admin/UserManagement.jsx

@@ -75,11 +75,7 @@ class UserManagement extends React.Component {
       </div>
     );
 
-    const notifyComment = (
-      adminUsersContainer.state.notifyComment
-        ? <span className="text-warning">{ adminUsersContainer.state.notifyComment }</span>
-        : null
-    );
+    const notifyComment = (adminUsersContainer.state.notifyComment && <span className="text-warning">{ adminUsersContainer.state.notifyComment }</span>);
 
     const clearButton = (
       adminUsersContainer.state.searchText.length > 0