show which patches include settings

This commit is contained in:
Wroclaw 2022-11-12 16:25:34 +01:00
parent 93eb7a40a2
commit 34b44630b1

View file

@ -327,7 +327,16 @@ class IntegrationList : System.Collections.ArrayList<#Integration#> {
$rvalue = [FormItems]::new() $rvalue = [FormItems]::new()
foreach ($i in $this) { foreach ($i in $this) {
if (-not $i.compatiblePackageNames().Contains($packageName)) { continue } if (-not $i.compatiblePackageNames().Contains($packageName)) { continue }
[void] $rvalue.Add([FormItem]::new($i.name, "$($i.name) - $($i.description)"))
[String] $description = "$($i.name) - $($i.description)"
foreach ($j in $this.getFullIntegrationList($i.name)) {
if ( $j -match "setting") {
$description = $description.Replace("$($i.name) - ", "$($i.name) [s] - ")
break
}
}
[void] $rvalue.Add([FormItem]::new($i.name, $description))
} }
return $rvalue return $rvalue
} }