Team 2 (Purview Doctor Tagging) Only Doctors
Specific Folder FTP Upload / ftp-deploy (push) Successful in 37s Details

This commit is contained in:
zeeshan 2026-10-08 14:00:38 +05:30
parent 2ffe5342dc
commit df25b5167e
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@
// All contacts loaded for each hierarchy
// Example usage: console.log(contacts);
// Filter out contacts where value == 'sample'
contacts = contacts.filter(function(itm) { return itm.value !== 'sample'; && itm.contact && itm.contact.type === 'doctor' });
contacts = contacts.filter(function(itm) { return itm.value !== 'sample' && itm.contact && itm.contact.type === 'doctor' });
console.log(contacts);
// Loop through contacts and append options to select elements whose id starts with 'field-contact_id'