3.7.1
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
RootModule = 'CloudAPIPowerShellManagement.psm1'
|
RootModule = 'CloudAPIPowerShellManagement.psm1'
|
||||||
|
|
||||||
# Version number of this module.
|
# Version number of this module.
|
||||||
ModuleVersion = '3.7.0'
|
ModuleVersion = '3.7.1'
|
||||||
|
|
||||||
# Supported PSEditions
|
# Supported PSEditions
|
||||||
# CompatiblePSEditions = @()
|
# CompatiblePSEditions = @()
|
||||||
|
|||||||
23
Core.psm1
23
Core.psm1
@@ -11,7 +11,7 @@ This module handles the WPF UI
|
|||||||
|
|
||||||
function Get-ModuleVersion
|
function Get-ModuleVersion
|
||||||
{
|
{
|
||||||
'3.7.0'
|
'3.7.1'
|
||||||
}
|
}
|
||||||
|
|
||||||
function Initialize-Window
|
function Initialize-Window
|
||||||
@@ -912,6 +912,15 @@ function Set-EnvironmentInfo
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(-not $script:mnuDefaultBGColor)
|
||||||
|
{
|
||||||
|
$script:mnuDefaultBGColor = $global:mnuMain.Background
|
||||||
|
}
|
||||||
|
if(-not $script:mnuDefaultFGColor)
|
||||||
|
{
|
||||||
|
$script:mnuDefaultFGColor = $global:mnuMain.Foreground
|
||||||
|
}
|
||||||
|
|
||||||
if($global:grdEnvironment -and $environmentName)
|
if($global:grdEnvironment -and $environmentName)
|
||||||
{
|
{
|
||||||
$global:grdEnvironment.Visibility = "Visible"
|
$global:grdEnvironment.Visibility = "Visible"
|
||||||
@@ -924,15 +933,7 @@ function Set-EnvironmentInfo
|
|||||||
$global:lblEnvironment.Content = ""
|
$global:lblEnvironment.Content = ""
|
||||||
}
|
}
|
||||||
$bgColor = (Get-SettingValue "MenuBGColor")
|
$bgColor = (Get-SettingValue "MenuBGColor")
|
||||||
$fgColor = (Get-SettingValue "MenuFGColor")
|
$fgColor = (Get-SettingValue "MenuFGColor")
|
||||||
if(-not $script:mnuDefaultBGColor)
|
|
||||||
{
|
|
||||||
$script:mnuDefaultBGColor = $global:mnuMain.Background
|
|
||||||
}
|
|
||||||
if(-not $script:mnuDefaultFGColor)
|
|
||||||
{
|
|
||||||
$script:mnuDefaultFGColor = $global:mnuMain.Foreground
|
|
||||||
}
|
|
||||||
|
|
||||||
if(-not $bgColor)
|
if(-not $bgColor)
|
||||||
{
|
{
|
||||||
@@ -959,7 +960,7 @@ function Set-EnvironmentInfo
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
$global:grdEnvironment.Visibility = "Collapsed"
|
$global:grdEnvironment.Visibility = "Collapsed"
|
||||||
$global:lblEnvironment.Text = ""
|
$global:lblEnvironment.Content = ""
|
||||||
$global:mnuMain.Background = $script:mnuDefaultBGColor
|
$global:mnuMain.Background = $script:mnuDefaultBGColor
|
||||||
$global:mnuMain.Foreground = $script:mnuDefaultFGColor
|
$global:mnuMain.Foreground = $script:mnuDefaultFGColor
|
||||||
$global:lblEnvironment.Foreground = $script:mnuDefaultFGColor
|
$global:lblEnvironment.Foreground = $script:mnuDefaultFGColor
|
||||||
|
|||||||
@@ -1,5 +1,12 @@
|
|||||||
# Release Notes
|
# 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**
|
**Breaking changes**
|
||||||
- A third header level was added when documenting to word<br />
|
- A third header level was added when documenting to word<br />
|
||||||
|
|||||||
Reference in New Issue
Block a user