release 1.2
This commit is contained in:
+1
-1
@@ -700,7 +700,7 @@
|
||||
addBtn.style.cssText = 'height: 24px; padding: 0 8px;';
|
||||
|
||||
// Проверяем, не добавлен ли уже этот получатель
|
||||
const alreadyAdded = recipients.some(r => r.id === person.id);
|
||||
const alreadyAdded = recipients.some(r => r.idPatientMis === person.idPatientMis);
|
||||
if (alreadyAdded) {
|
||||
addBtn.disabled = true;
|
||||
addBtn.classList.add('is-disabled');
|
||||
|
||||
Reference in New Issue
Block a user