@@ -12,7 +12,7 @@ $script:CustomClientId = $ClientId
1212$script :CustomTenantId = $TenantId
1313
1414# ========================= Version =========================
15- $script :Version = " 2.3.2 "
15+ $script :Version = " 2.3.3 "
1616
1717# ========================= Cross-Platform Keyboard Shortcuts =========================
1818# Detect if running on macOS (use built-in $IsMacOS variable if available)
@@ -263,7 +263,7 @@ public class PIMBrowserAuth
263263</head>
264264<body>
265265 <div class='container'>
266- <div class='brand'>[ E N T R A P I M ] <span class='version'>v2.3.2 </span></div>
266+ <div class='brand'>[ E N T R A P I M ] <span class='version'>v2.3.3 </span></div>
267267 <div class='checkmark'>✓</div>
268268 <h1>Authentication Successful</h1>
269269 <p>You can close this window and return to PowerShell.</p>
@@ -288,7 +288,7 @@ public class PIMBrowserAuth
288288</head>
289289<body>
290290 <div class='container'>
291- <div class='brand'>[ E N T R A P I M ] <span class='version'>v2.3.2 </span></div>
291+ <div class='brand'>[ E N T R A P I M ] <span class='version'>v2.3.3 </span></div>
292292 <div class='icon'>✕</div>
293293 <h1>Authentication Failed</h1>
294294 <p>Please close this window and try again.</p>
@@ -3307,6 +3307,8 @@ function Show-PIMGlobalHeader {
33073307 $selectedItems += $i
33083308 }
33093309 }
3310+ # Ignore Enter if nothing is selected
3311+ if ($selectedItems.Count -eq 0 ) { continue }
33103312 # Clear the control bar line and several lines below to remove stale content
33113313 for ($clearLine = $controlBarTop ; $clearLine -lt [Math ]::Min($controlBarTop + 10 , [Console ]::BufferHeight); $clearLine ++ ) {
33123314 [Console ]::SetCursorPosition(0 , $clearLine )
@@ -4606,6 +4608,8 @@ function Show-AzureCheckboxMenu {
46064608 $selectedItems += $i
46074609 }
46084610 }
4611+ # Ignore Enter if nothing is selected
4612+ if ($selectedItems.Count -eq 0 ) { continue }
46094613 [Console ]::CursorVisible = $true
46104614 return $selectedItems
46114615 }
@@ -4760,6 +4764,8 @@ function Show-AzureGroupedCheckboxMenu {
47604764 $selectedItems += $entry.Key
47614765 }
47624766 }
4767+ # Ignore Enter if nothing is selected
4768+ if ($selectedItems.Count -eq 0 ) { continue }
47634769 [Console ]::CursorVisible = $true
47644770 return $selectedItems
47654771 }
0 commit comments