Update src/ui.ps1
This commit is contained in:
@@ -117,7 +117,11 @@ $subHtml
|
||||
function Get-ModuleVersionHtml {
|
||||
$mod = Get-Module -ListAvailable -Name SVSMSP | Sort-Object Version -Descending | Select-Object -First 1
|
||||
|
||||
$branchDisplay = switch ($Script:SamyBranch.ToLower()) {
|
||||
$branch = $Script:SamyBranch
|
||||
if ([string]::IsNullOrWhiteSpace($branch)) { $branch = $Script:SamyGitBranch }
|
||||
if ([string]::IsNullOrWhiteSpace($branch)) { $branch = 'beta' }
|
||||
|
||||
$branchDisplay = switch ($branch.ToLower()) {
|
||||
'main' { 'Main / Stable' }
|
||||
'beta' { 'Beta' }
|
||||
default { $Script:SamyBranch }
|
||||
|
||||
Reference in New Issue
Block a user