Update testTaskGate.ps1
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# region changes to be done
|
# region changes to be done
|
||||||
|
|
||||||
# ???? Rendering SubOptions for task installDattoRMM
|
|
||||||
# [Debug][FetchSites] calling webhook...
|
# [Debug][FetchSites] calling webhook...
|
||||||
# [Error][FetchSites] webhook failed: The remote server returned an error: (403) Forbidden.
|
# [Error][FetchSites] webhook failed: The remote server returned an error: (403) Forbidden.
|
||||||
# [Debug][FetchSites] calling webhook...
|
# [Debug][FetchSites] calling webhook...
|
||||||
@@ -365,7 +365,6 @@ function Build-Checkboxes {
|
|||||||
$html = "<label><input type='checkbox' id='$taskId' name='$($_.Name)' data-column='$Column'> $($_.Label)</label>"
|
$html = "<label><input type='checkbox' id='$taskId' name='$($_.Name)' data-column='$Column'> $($_.Label)</label>"
|
||||||
|
|
||||||
if ($_.SubOptions) {
|
if ($_.SubOptions) {
|
||||||
Write-Host "👉 Rendering SubOptions for task $taskId"
|
|
||||||
|
|
||||||
$subHtml = (
|
$subHtml = (
|
||||||
$_.SubOptions | ForEach-Object {
|
$_.SubOptions | ForEach-Object {
|
||||||
|
|||||||
Reference in New Issue
Block a user