Skip to content
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

Merged
merged 13 commits into from
Aug 28, 2015
Merged

Feature/apiBackend status #396

merged 13 commits into from
Aug 28, 2015

Conversation

frenchbread
Copy link
Contributor

Hey @apinf/developers. Please review this PR.

@frenchbread
Copy link
Contributor Author

To be able to test it, navigate /api/api_id_here - there is a new template for API status.

Template.viewApiBackend.rendered = function () {

// fetches current apiBackend
var apiBackend = ApiBackends.find().fetch();
Copy link
Contributor

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);

Copy link
Contributor Author

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.

@frenchbread
Copy link
Contributor Author

@brylie All suggested changes are on place now. Please review.

@55
Copy link
Contributor

55 commented Aug 28, 2015

UI looks good for me @brylie if everything else if alright, merge it.

brylie added a commit that referenced this pull request Aug 28, 2015
@brylie brylie merged commit b16d8dd into develop Aug 28, 2015
@brylie brylie deleted the feature/apiBackend-status branch August 28, 2015 11:38
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.

None yet

3 participants