Merge branch 'julius-dev' of Software_Engineering_I/greenvironment-frontend into master

master
Trivernis 5 years ago committed by Gitea
commit 1bc5b06e9f

@ -257,7 +257,7 @@ export class FeedService extends BaseService {
} }
} }
this.posts.next(posts); this.posts.next(posts);
if (posts.length < this.offsetStep) { if (response.data.getPosts.length < this.offsetStep) {
this.postsAvailable.next(false); this.postsAvailable.next(false);
} }
}); });

Loading…
Cancel
Save