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

Dashboard: Future date is clickable in date picker and on click dashboard keeps on loading #1730

Closed
Nazarah opened this issue Oct 10, 2016 · 0 comments
Assignees
Labels
Milestone

Comments

@Nazarah
Copy link
Contributor

Nazarah commented Oct 10, 2016

Possible solution

It may be possible to fix this bug by editing/removing the following line:

this.$('.input-daterange').datepicker({
  ...
  endDate: "+1d"
});

Steps to reproduce

  • login to nightly.apinf.io
  • make sure you have an API and is connected to a proxy.
  • click on dashboard.
  • click on date picker.
  • result: date after current day is enabled (e.g. if today is 10/10/2016, then 11/10/2016 is also enabled)
    image
  • click on that date.

    result: dashboard keeps on loading and charts don't appear eventually
    image

Expected Result

  • Only dates upto current day should be available for selection in date picker. Dates after current day should be disabled.

System

  • OS: Windows 8
  • Browser: Chrome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants