Commit 1d37ca04 authored by Juan Manuel Solaro's avatar Juan Manuel Solaro

(feat) see more and empty feed will not appear at the same time

1 merge request!459WIP: (feat): Minds Pro
Pipeline #73536381 running with stages
......@@ -22,13 +22,15 @@
</m-newsfeed__entity>
</ng-container>
</li>
<li class="m-proChannelListContentList__seeMore" [routerLink]="seeMoreRoute" i18n>
See more
</li>
</ul>
<ng-container *ngIf="(feedsService.feed | async) && (feedsService.feed | async).length">
<ng-container *ngIf="!(feedsService.feed | async) || (feedsService.feed | async).length == 0; else seeMore">
<div class="m-proChannelListContent__noContent" i18n>There's nothing to show</div>
</ng-container>
<ng-template #seeMore>
<div class="m-proChannelListContentList__seeMore" [routerLink]="seeMoreRoute" i18n>
See more
</div>
</ng-template>
<ng-container *ngIf="type === 'activities'">
<pre *ngFor="let entity of (feedsService.feed | async)">{{entity | async | json}}</pre>
<!-- talk to Emi about this -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment