diff options
author | Renard | 2019-10-04 15:48:18 -0300 |
---|---|---|
committer | Renard | 2019-10-04 15:48:18 -0300 |
commit | 2b10f1dbcb4149c0a42982a025d8c31fd1bc0177 (patch) | |
tree | 2916111f69a62dcaa05c83d0b3f306190f4ba6ba /src/Post.js | |
parent | 109467d1a7c00a904d9baac57fdb03c392ec9a1b (diff) | |
download | bai-client-2b10f1dbcb4149c0a42982a025d8c31fd1bc0177.tar.gz bai-client-2b10f1dbcb4149c0a42982a025d8c31fd1bc0177.tar.xz bai-client-2b10f1dbcb4149c0a42982a025d8c31fd1bc0177.zip |
Setting: Colorear IDS
Diffstat (limited to 'src/Post.js')
-rw-r--r-- | src/Post.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/Post.js b/src/Post.js index d18f89c..3d75f36 100644 --- a/src/Post.js +++ b/src/Post.js @@ -219,6 +219,7 @@ class Post extends Component { if (user_id === "CAP_USER*") { starColor = "blue"; icon = "check circle"; + user_id = "Usuario verificado"; } else if (isMine) { starColor = "olive"; } else if (user_id === "???T") { @@ -273,6 +274,8 @@ class Post extends Component { .showAvatars; let settingEmbedYoutube = JSON.parse(localStorage.getItem("settings")) .embedYoutube; + let settingColorifyIDs = JSON.parse(localStorage.getItem("settings")) + .colorifyIDs; return ( <Comment inverted={nightMode}> @@ -304,10 +307,10 @@ class Post extends Component { </div> <div> <Icon name={icon} color={starColor} /> - {user_id === "CAP_USER*" ? ( - "Usuario verificado" - ) : ( + {settingColorifyIDs ? ( <span style={{ color: idColor }}>{user_id}</span> + ) : ( + user_id )} {isMine ? " (TĂș)" : null} </div> |