diff --git a/src/app/services/feed/feed.service.ts b/src/app/services/feed/feed.service.ts index 62aea92..1689b91 100644 --- a/src/app/services/feed/feed.service.ts +++ b/src/app/services/feed/feed.service.ts @@ -257,7 +257,7 @@ export class FeedService extends BaseService { } } this.posts.next(posts); - if (posts.length < this.offsetStep) { + if (response.data.getPosts.length < this.offsetStep) { this.postsAvailable.next(false); } });