mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-07-01 18:42:35 -05:00
filter out unneeded categories
This commit is contained in:
@ -87,7 +87,6 @@ function Invoke-WPFUIElements {
|
||||
# Only apply the logic for distributing entries across columns if the targetGridName is "appspanel"
|
||||
if ($targetGridName -eq "appspanel") {
|
||||
$panelcount = 0
|
||||
$paneltotal = $columncount # Use columncount for even distribution
|
||||
$entrycount = $configHashtable.Keys.Count + $organizedData["0"].Keys.Count
|
||||
$maxcount = [Math]::Round($entrycount / $columncount + 0.5)
|
||||
}
|
||||
@ -139,7 +138,6 @@ function Invoke-WPFUIElements {
|
||||
$stackPanel.Children.Add($label) | Out-Null
|
||||
|
||||
$sync[$category] = $label
|
||||
write-host $sync[$category]
|
||||
|
||||
# Sort entries by Order and then by Name, but only display Name
|
||||
$entries = $organizedData[$panelKey][$category] | Sort-Object Order, Name
|
||||
|
Reference in New Issue
Block a user