diff --git a/TGBeta.ps1 b/TGBeta.ps1 index 5084cbc..999d778 100644 --- a/TGBeta.ps1 +++ b/TGBeta.ps1 @@ -652,16 +652,13 @@ function GetHtmlContent { const n8nPasswordContainer = document.getElementById('n8nPasswordContainer'); const dattoRMMContainer = document.getElementById('DattoRMMContainer'); - // Set the checked state of all checkboxes to match the "Select All" checkbox - checkboxes.forEach(checkbox => { - checkbox.checked = selectAllCheckbox.checked; - }); + - // checkboxes.forEach(checkbox => { - // if (checkbox !== selectedCheckbox) { - // checkbox.checked = selectedCheckbox.checked; - // } - // }); + checkboxes.forEach(checkbox => { + if (checkbox !== selectedCheckbox) { + checkbox.checked = selectedCheckbox.checked; + } + }); if (dattoRMMCheckbox.checked) { optionsContainer.style.display = 'block';