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

Pagination Component fires off duplicate log queries to the API #164

Open
BrettJaner opened this issue Jan 29, 2025 · 1 comment
Open

Pagination Component fires off duplicate log queries to the API #164

BrettJaner opened this issue Jan 29, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@BrettJaner
Copy link

Describe the bug
When using any of the pagination control buttons that require the page to refetch/refresh, duplicate requests are made to the /api/logs endpoint.

Image

To Reproduce
Steps to reproduce the behavior:

  1. Ensure you have enough logs to enable pagination.
  2. Use any of the buttons below.

Image

Expected behavior
Only one query to the API.

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Chrome
  • Version: Version 132.0.6834.159 (Official Build) (64-bit)
@mo-esmp mo-esmp added investigation bug Something isn't working and removed investigation labels Feb 4, 2025
@mo-esmp
Copy link
Member

mo-esmp commented Feb 4, 2025

@followynne Please check this; the UI is sending double requests.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants