Skip to content

Commit

Permalink
3.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Micke-K committed Aug 8, 2022
1 parent 37965cb commit 4d3d8a3
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 13 deletions.
2 changes: 1 addition & 1 deletion CloudAPIPowerShellManagement.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = 'CloudAPIPowerShellManagement.psm1'

# Version number of this module.
ModuleVersion = '3.7.0'
ModuleVersion = '3.7.1'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down
23 changes: 12 additions & 11 deletions Core.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This module handles the WPF UI

function Get-ModuleVersion
{
'3.7.0'
'3.7.1'
}

function Initialize-Window
Expand Down Expand Up @@ -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"
Expand All @@ -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)
{
Expand All @@ -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
Expand Down
9 changes: 8 additions & 1 deletion ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Release Notes
## 3.7.0 - 2022-07-17
## 3.7.1 - 2022-08-08

**Fixes**

- **UI**<br />
- Fixed a bug where the menu bar was empty if not logged in<br />

## 3.7.0 - 2022-08-02

**Breaking changes**
- A third header level was added when documenting to word<br />
Expand Down

0 comments on commit 4d3d8a3

Please sign in to comment.