+
{!hiddenUsersList.length && (
-
+
)}
{!!hiddenUsersList.length && (
-
+
{hiddenUsersList.map((user) => {
const isUserUnhidden = unhiddenUsers.includes(user.id);
return (
- -
-
+
-
+
{user.name ? user.name : }
{this.__isUserHidden(user) ? (
- this.unhide(user))}>
+ this.unhide(user))}>
) : (
- this.hide(user))}>
+ this.hide(user))}>
)}
-
+
id: {user.id}
@@ -146,50 +140,43 @@ class SettingsComponent extends Component {
)}
{user && user.admin && (
-
+
{!blockedUsers.length && (
-
+
)}
{!!blockedUsers.length && (
-
+
{blockedUsers.map((user) => {
const isUserUnblocked = unblockedUsers.includes(user.id);
return (
- -
-
+
-
+
{user.name ? user.name : }
-
+
{' '}
{isUserUnblocked && (
- this.block(user))} className="settings__action">
+ this.block(user))} className={styles.action}>
)}
{!isUserUnblocked && (
- this.unblock(user))} className="settings__action">
+ this.unblock(user))} className={styles.action}>
)}
-
+
id: {user.id}