Forráskód Böngészése

Remove retweet action from protected account's tweets

Carsten Porth 5 éve
szülő
commit
2bbf6cc210
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      app/src/components/tweet-actions/tweet-actions.html

+ 1 - 1
app/src/components/tweet-actions/tweet-actions.html

@@ -3,7 +3,7 @@
   <div class="comments">
     <ion-icon name="ios-chatbubbles-outline"></ion-icon>
   </div>
-  <div class="retweets">
+  <div class="retweets" *ngIf="!data.user.protected">
     <ion-icon name="ios-git-compare-outline"></ion-icon>
     <span>{{ data.retweet_count | friendlyNumber }}</span>
   </div>