fleetdm / fleet

Open-source platform for IT, security, and infrastructure teams. (Linux, macOS, Chrome, Windows, cloud, data center)
https://fleetdm.com
Other
2.91k stars 405 forks source link

Fleet UI: Switching teams does not reset policies/software pages back to Page 0 #18732

Closed RachelElysia closed 2 months ago

RachelElysia commented 3 months ago

Fleet version: <!-- Copy this from the "My account" page in the Fleet UI, or run fleetctl --version -->

Web browser and operating system:


💥  Actual behavior

https://www.loom.com/share/46f077644bd94f26b7dc2c75877e7cda?sid=4fb355b7-5560-4096-8e60-50478bc425ff

🧑‍💻  Steps to reproduce

  1. Have more than 20 policies, go to the second (or third etc...) page of policies
  2. Switch teams
  3. Notice the API call isn't calling Page 0 which is the initial call

🕯️ More info (optional)

N/A

Fixing in my policies PR.

fleet-release commented 2 months ago

Pages flow like a stream, Switching teams, seamless dream, Fleet, in cloud city gleam.