[Feature] Prevent sending notification to user when bulk reassign

This commit is contained in:
2022-10-06 21:44:23 +02:00
parent 86cfd87d71
commit cf0252b469
5 changed files with 11 additions and 9 deletions

View File

@@ -39,18 +39,12 @@ function loadDynamicPickers(element) {
apps.forEach(function(el) {
console.log('el', el);
const
uniqId = el.dataset.uniqid,
input = document.querySelector(`input[data-input-uniqid="${uniqId}"]`),
cityIdValue = input.value === '' ? null : input.value
;
console.log('uniqid', uniqId);
console.log('input', input);
console.log('input value', input.value);
console.log('cityIdValue', cityIdValue);
if (cityIdValue !== null) {
makeFetch('GET', `/api/1.0/main/postal-code/${cityIdValue}.json`).then(city => {
loadOnePicker(el, input, uniqId, city);