Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions src/Public/Pages.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -822,6 +822,10 @@ function ConvertTo-PodeWebPage {
[string]
$Module,

[Parameter()] #Added by Keith 09/22/2025 to allow group names to be used with ConvertTo-PodeWebPage
[string]
$Group,

[switch]
$GroupVerbs,

Expand Down Expand Up @@ -985,11 +989,12 @@ function ConvertTo-PodeWebPage {
New-PodeWebTab -Name $name -Content $card
})

$group = [string]::Empty
if ($GroupVerbs) {
$group = $cmdInfo.Verb
if ([string]::IsNullOrWhiteSpace($group)) {
$group = '_'
if ($group -eq [string]::Empty) { #Added by Keith 09/22/2025 to allow group names to be used with ConvertTo-PodeWebPage
if ($GroupVerbs) {
$group = $cmdInfo.Verb
if ([string]::IsNullOrWhiteSpace($group)) {
$group = '_'
}
}
}

Expand Down