diff --git a/CloudAPIPowerShellManagement.psd1 b/CloudAPIPowerShellManagement.psd1 index bf50b60..c12df5a 100644 --- a/CloudAPIPowerShellManagement.psd1 +++ b/CloudAPIPowerShellManagement.psd1 @@ -12,7 +12,7 @@ RootModule = 'CloudAPIPowerShellManagement.psm1' # Version number of this module. -ModuleVersion = '3.7.0' +ModuleVersion = '3.7.1' # Supported PSEditions # CompatiblePSEditions = @() diff --git a/Core.psm1 b/Core.psm1 index 8768118..376aa80 100644 --- a/Core.psm1 +++ b/Core.psm1 @@ -11,7 +11,7 @@ This module handles the WPF UI function Get-ModuleVersion { - '3.7.0' + '3.7.1' } function Initialize-Window @@ -912,6 +912,15 @@ function Set-EnvironmentInfo return } + if(-not $script:mnuDefaultBGColor) + { + $script:mnuDefaultBGColor = $global:mnuMain.Background + } + if(-not $script:mnuDefaultFGColor) + { + $script:mnuDefaultFGColor = $global:mnuMain.Foreground + } + if($global:grdEnvironment -and $environmentName) { $global:grdEnvironment.Visibility = "Visible" @@ -924,15 +933,7 @@ function Set-EnvironmentInfo $global:lblEnvironment.Content = "" } $bgColor = (Get-SettingValue "MenuBGColor") - $fgColor = (Get-SettingValue "MenuFGColor") - if(-not $script:mnuDefaultBGColor) - { - $script:mnuDefaultBGColor = $global:mnuMain.Background - } - if(-not $script:mnuDefaultFGColor) - { - $script:mnuDefaultFGColor = $global:mnuMain.Foreground - } + $fgColor = (Get-SettingValue "MenuFGColor") if(-not $bgColor) { @@ -959,7 +960,7 @@ function Set-EnvironmentInfo else { $global:grdEnvironment.Visibility = "Collapsed" - $global:lblEnvironment.Text = "" + $global:lblEnvironment.Content = "" $global:mnuMain.Background = $script:mnuDefaultBGColor $global:mnuMain.Foreground = $script:mnuDefaultFGColor $global:lblEnvironment.Foreground = $script:mnuDefaultFGColor diff --git a/ReleaseNotes.md b/ReleaseNotes.md index 5a41415..c510c06 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -1,5 +1,12 @@ # Release Notes -## 3.7.0 - 2022-07-17 +## 3.7.1 - 2022-08-08 + +**Fixes** + +- **UI**
+ - Fixed a bug where the menu bar was empty if not logged in
+ +## 3.7.0 - 2022-08-02 **Breaking changes** - A third header level was added when documenting to word