Loading src/app/modules/pro/channel/list-modal/list-modal.component.html +3 −3 Original line number Original line Diff line number Diff line <div class="m-pro--channel-list-modal"> <div class="m-pro--channel-list-modal"> <div class="m-pro--channel-list-modal--grid"> <div class="m-pro--channel-list-modal--grid"> <ng-container *ngFor="let entity$ of (entities | async); let i = index"> <ng-container *ngFor="let entity$ of (entities$ | async); let i = index"> <ng-container *ngIf="type === 'images' || type === 'videos' || type === 'blogs'"> <ng-container *ngIf="type === 'images' || type === 'videos' || type === 'blogs'"> <m-pro--channel-tile *ngIf="entity$ | async as entity" <m-pro--channel-tile *ngIf="entity$ | async as entity" [entity]="entity" [entity]="entity" Loading @@ -13,8 +13,8 @@ <infinite-scroll <infinite-scroll distance="25%" distance="25%" (load)="loadMore()" (load)="loadMore()" [moreData]="feedsService.hasMore | async" [moreData]="hasMore$ | async" [inProgress]="feedsService.inProgress | async" [inProgress]="inProgress$ | async" [scrollSource]="this.parent" [scrollSource]="this.parent" ></infinite-scroll> ></infinite-scroll> </div> </div> Loading src/app/modules/pro/channel/list-modal/list-modal.component.ts +9 −1 Original line number Original line Diff line number Diff line Loading @@ -61,10 +61,18 @@ export class ProChannelListModal { } } } } get entities() { get entities$() { return this.feedsService.feed; return this.feedsService.feed; } } get hasMore$() { return this.feedsService.hasMore; } get inProgress$() { return this.feedsService.inProgress; } loadMore() { loadMore() { this.feedsService.loadMore(); this.feedsService.loadMore(); } } Loading Loading
src/app/modules/pro/channel/list-modal/list-modal.component.html +3 −3 Original line number Original line Diff line number Diff line <div class="m-pro--channel-list-modal"> <div class="m-pro--channel-list-modal"> <div class="m-pro--channel-list-modal--grid"> <div class="m-pro--channel-list-modal--grid"> <ng-container *ngFor="let entity$ of (entities | async); let i = index"> <ng-container *ngFor="let entity$ of (entities$ | async); let i = index"> <ng-container *ngIf="type === 'images' || type === 'videos' || type === 'blogs'"> <ng-container *ngIf="type === 'images' || type === 'videos' || type === 'blogs'"> <m-pro--channel-tile *ngIf="entity$ | async as entity" <m-pro--channel-tile *ngIf="entity$ | async as entity" [entity]="entity" [entity]="entity" Loading @@ -13,8 +13,8 @@ <infinite-scroll <infinite-scroll distance="25%" distance="25%" (load)="loadMore()" (load)="loadMore()" [moreData]="feedsService.hasMore | async" [moreData]="hasMore$ | async" [inProgress]="feedsService.inProgress | async" [inProgress]="inProgress$ | async" [scrollSource]="this.parent" [scrollSource]="this.parent" ></infinite-scroll> ></infinite-scroll> </div> </div> Loading
src/app/modules/pro/channel/list-modal/list-modal.component.ts +9 −1 Original line number Original line Diff line number Diff line Loading @@ -61,10 +61,18 @@ export class ProChannelListModal { } } } } get entities() { get entities$() { return this.feedsService.feed; return this.feedsService.feed; } } get hasMore$() { return this.feedsService.hasMore; } get inProgress$() { return this.feedsService.inProgress; } loadMore() { loadMore() { this.feedsService.loadMore(); this.feedsService.loadMore(); } } Loading