Akira-Kurusu commited on
Commit
8dc7910
·
verified ·
1 Parent(s): 92f0c1e

Update web/patients.html

Browse files
Files changed (1) hide show
  1. web/patients.html +2 -4
web/patients.html CHANGED
@@ -1218,10 +1218,8 @@ function createPatientCard(patient) {
1218
 
1219
  window.startDiagnosisForPatient = function() {
1220
  if (selectedPatientForDetails) {
1221
- setTimeout(() => {
1222
- window.location.href = 'auth-login.html';
1223
-
1224
- }, 200);
1225
  }
1226
  };
1227
 
 
1218
 
1219
  window.startDiagnosisForPatient = function() {
1220
  if (selectedPatientForDetails) {
1221
+ $('#patientDetailsModal').modal('hide');
1222
+ window.location.href = `diagnosis.html?patient=${selectedPatientForDetails.patientID}`;
 
 
1223
  }
1224
  };
1225