-
-
Notifications
You must be signed in to change notification settings - Fork 786
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
FreshRSS custom service. #672
Conversation
✅ Deploy Preview for homer-demo-content ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this contribution too @thedroid!
It would also be nice to have the dummy data for this one if possible.
src/components/services/FreshRSS.vue
Outdated
|
||
this.fetch(`/api/greader.php/reader/api/0/subscription/list?output=json`, { headers }) | ||
.then((subscription) => { | ||
this.subscriptions = 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should be able to set subscriptions
to 0 in the declaration, line 37, and remove this line
src/components/services/FreshRSS.vue
Outdated
console.error(e); | ||
this.serverError = true; | ||
}); | ||
this.fetch(`/api/greader.php/reader/api/0/unread-count?output=json`, { headers }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong indentation, could you run a yarn lint
?
src/components/services/FreshRSS.vue
Outdated
}); | ||
this.fetch(`/api/greader.php/reader/api/0/unread-count?output=json`, { headers }) | ||
.then((unreadcount) => { | ||
this.unread = 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here about the initial value.
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Checklist:
config.yml
file