]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.html
Refactor my-subscribe-button to support full account subscription
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-subscriptions / my-account-subscriptions.component.html
index fc23053c8ec8fc1d94899474a05ae15061221aa0..b87a4c00c23da1dfe4432e16d5d314752acaacf6 100644 (file)
@@ -1,6 +1,6 @@
 <div class="no-results" i18n *ngIf="pagination.totalItems === 0">You don't have any subscriptions yet.</div>
 
-<div class="video-channels" myInfiniteScroller [autoInit]="true" (nearOfBottom)="onNearOfBottom()">
+<div class="video-channels" myInfiniteScroller [autoInit]="true" (nearOfBottom)="onNearOfBottom()" [dataObservable]="onDataSubject.asObservable()">
   <div *ngFor="let videoChannel of videoChannels" class="video-channel">
     <a [routerLink]="[ '/video-channels', videoChannel.nameWithHost ]">
       <img [src]="videoChannel.avatarUrl" alt="Avatar" />
@@ -20,6 +20,6 @@
       </a>
     </div>
 
-    <my-subscribe-button [videoChannel]="videoChannel"></my-subscribe-button>
+    <my-subscribe-button [videoChannels]="[videoChannel]"></my-subscribe-button>
   </div>
 </div>