]> Untitled Git - lemmy.git/commitdiff
Hide user karma on details page. Fixes #585
authorDessalines <tyhou13@gmx.com>
Sun, 8 Mar 2020 18:33:04 +0000 (14:33 -0400)
committerDessalines <tyhou13@gmx.com>
Sun, 8 Mar 2020 18:33:04 +0000 (14:33 -0400)
ui/src/components/user.tsx

index 482851133fb1a8553bc0a13d66269ed71b5758ce..0b0d11352e2f2cf25e88627b1cce02c2bc1cc322 100644 (file)
@@ -363,6 +363,7 @@ export class User extends Component<any, UserState> {
             </div>
             <div class="table-responsive mt-1">
               <table class="table table-bordered table-sm mt-2 mb-0">
+                {/*
                 <tr>
                   <td class="text-center" colSpan={2}>
                     {i18n.t('number_of_points', {
@@ -370,18 +371,23 @@ export class User extends Component<any, UserState> {
                     })}
                   </td>
                 </tr>
+                */}
                 <tr>
+                  {/* 
                   <td>
                     {i18n.t('number_of_points', { count: user.post_score })}
                   </td>
+                  */}
                   <td>
                     {i18n.t('number_of_posts', { count: user.number_of_posts })}
                   </td>
+                  {/* 
                 </tr>
                 <tr>
                   <td>
                     {i18n.t('number_of_points', { count: user.comment_score })}
                   </td>
+                  */}
                   <td>
                     {i18n.t('number_of_comments', {
                       count: user.number_of_comments,