소스 검색

Remove retweet action from protected account's tweets

Carsten Porth 6 년 전
부모
커밋
2bbf6cc210
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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>