Update testTaskGate.ps1

This commit is contained in:
2025-05-27 00:26:13 -04:00
parent e5f85f416d
commit db2dfc1eae

View File

@@ -1,6 +1,6 @@
# region changes to be done
# ???? Rendering SubOptions for task installDattoRMM
# [Debug][FetchSites] calling webhook...
# [Error][FetchSites] webhook failed: The remote server returned an error: (403) Forbidden.
# [Debug][FetchSites] calling webhook...
@@ -365,8 +365,7 @@ function Build-Checkboxes {
$html = "<label><input type='checkbox' id='$taskId' name='$($_.Name)' data-column='$Column'> $($_.Label)</label>"
if ($_.SubOptions) {
Write-Host "👉 Rendering SubOptions for task $taskId"
$subHtml = (
$_.SubOptions | ForEach-Object {
"<label style='margin-left:20px; display:block;'>