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

LoadMoreProducts button not working as it should #2525

Closed
kieha opened this issue Jul 5, 2017 · 0 comments
Closed

LoadMoreProducts button not working as it should #2525

kieha opened this issue Jul 5, 2017 · 0 comments
Assignees
Labels
bug For issues that describe a defect or regression in the released software

Comments

@kieha
Copy link
Contributor

kieha commented Jul 5, 2017

Expected behavior

As an admin, If you have 24+ (say, 35) products, you should only be able to see the first 24 products and a loadMoreProducts button.

When you click on this button, the rest of the products should be loaded onto the page, and the button should disappear.

Actual Behavior

Bug 1

As an admin with 24+ products, all the 24+ products are displayed, together with the loadMoreProducts button.

Bug 2

When you click on the button, nothing happens. The button does not disappear.

Steps to Reproduce the Behavior

  1. Sign in to the app as admin.
  2. Create 24+ products (like 30 or so).
  3. Observe that when you scroll, you can see all of the 24+ products that you had created, and the loadMoreProducts button (Bug 1).
  4. Observe that when you click on the button, nothing happens. The button remains (Bug 2).

Versions

Node: 6.2.2
NPM: 3.10.9
Meteor Node: 4.8.3
Meteor NPM: 4.6.1
Reaction CLI: 0.10.0
Reaction: 1.3.0
Reaction branch: development
Docker: 1.13.0

I've observed this behavior on master as well.

N.B: As a non-admin, the behavior is as expected. This only happens as an admin.

@kieha kieha added the bug For issues that describe a defect or regression in the released software label Jul 5, 2017
@desaawa desaawa closed this as completed Jul 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug For issues that describe a defect or regression in the released software
Projects
None yet
Development

No branches or pull requests

2 participants