Closed nkfoss closed 4 years ago
It appears that fetchRecords is NOT actually fetching records when called at inappropriate times. There was a built-in check that prevented unneccessary database requests. This check was moved out of the service and into the component that calls the service.
When going from EditExerciseComp -> SetListComp, fetchRecords gets called. This is not necessary, because the RepMaxService is never destroyed during any transition between SLC and EEC... furthermore, the records can never be modified during this process, so we can assume the local records don't need to be updated from the database.