You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the user is not informed if loading participants has failed. This should be added to the UI. const patientList = await patientAPI.filteredPatients(projectId).catch(() => ([]));
The catch should print the error and show a message to the user, similar to what we do when file upload failes
The text was updated successfully, but these errors were encountered:
Currently all GET requests are expected not to fail. I have not implemented any catch on these case since I need more specific requirement for handling get fail not just participants but sourceTypes, files, records...
I suggest to move this in milestone 3 as an improvement. Since the table also said 'no data found' if get participants fails.
Currently, the user is not informed if loading participants has failed. This should be added to the UI.
const patientList = await patientAPI.filteredPatients(projectId).catch(() => ([]));
The catch should print the error and show a message to the user, similar to what we do when file upload failes
The text was updated successfully, but these errors were encountered: