Убрал localStorage с medicalId и заменил на route
This commit is contained in:
@@ -89,8 +89,8 @@ export function getRequestNote(note, initNote, personId) {
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
||||
export function getRequestConfidant(confidant, initConfidant, initPerson) {
|
||||
const medicalId = localStorage.getItem("medicalId");
|
||||
export function getRequestConfidant(confidant, initConfidant, initPerson, id) {
|
||||
const medicalId = id;
|
||||
const fullName = `${confidant.last_name.value} ${confidant.first_name.value} ${confidant.patronymic.value}`;
|
||||
let contacts = [];
|
||||
const phone = confidant.phone.value
|
||||
|
||||
Reference in New Issue
Block a user