From 2b10f1dbcb4149c0a42982a025d8c31fd1bc0177 Mon Sep 17 00:00:00 2001 From: Renard Date: Fri, 4 Oct 2019 15:48:18 -0300 Subject: Setting: Colorear IDS --- src/Post.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/Post.js') 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 ( @@ -304,10 +307,10 @@ class Post extends Component {
- {user_id === "CAP_USER*" ? ( - "Usuario verificado" - ) : ( + {settingColorifyIDs ? ( {user_id} + ) : ( + user_id )} {isMine ? " (TĂș)" : null}
-- cgit v1.2.1-18-gbd029