-
Notifications
You must be signed in to change notification settings - Fork 35
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
Feature/apiBackend status #396
Conversation
To be able to test it, navigate |
Template.viewApiBackend.rendered = function () { | ||
|
||
// fetches current apiBackend | ||
var apiBackend = ApiBackends.find().fetch(); |
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.
Fetch only one API Backend. E.g. ApiBackends.findOne(instance.apiBackendId);
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.
@brylie Changing this one to .findOne( )
- because in this context meteor will fetch single apiBackend data anyway. By the way backendId
comes as undefined in Template.viewApiBackend.created
.
@brylie All suggested changes are on place now. Please review. |
UI looks good for me @brylie if everything else if alright, merge it. |
Hey @apinf/developers. Please review this PR.