Skip to content

Fix fetching for items with no comments #244

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

elliezen
Copy link

There is an error in fetching items with no comments, because it's supposed to return a promise from function fetchComments. However, if the item doesn't match the condition, the function will not return it. This leaves the ItemView in a loading state and an error appear.
Checking if the item has kids should fix this error from being thrown.

yyx990803 pushed a commit that referenced this pull request Sep 21, 2017
* close issues: close #202, close #231
close prs: close #209, close #216, close #244

* fallback false, remove unused `glob`

* upgrade vuex-router-sync, fix #221, fix #218, fix #208, fix #207

* lock firebase at version 4.1.3 (firebase/firebase-js-sdk#157 (comment))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants