We ran into an issue where the modal loader was spinning indefinitely when a user tried to access the Create User/Agency modal. This was caused by us initializing the loader in the AdminPanelStore as true which was unnecessary since we already do that for the fetchAgencyTeam and fetchUserAgencies methods (this was totally my bad for giving bad instructions!). Let's add a test to ensure the loading works as expected for the Create and Edit modals.
We ran into an issue where the modal loader was spinning indefinitely when a user tried to access the Create User/Agency modal. This was caused by us initializing the loader in the
AdminPanelStore
astrue
which was unnecessary since we already do that for thefetchAgencyTeam
andfetchUserAgencies
methods (this was totally my bad for giving bad instructions!). Let's add a test to ensure the loading works as expected for the Create and Edit modals.Reference fix: https://github.com/Recidiviz/justice-counts/pull/1544