mirror of
https://github.com/rbalsleyMSFT/FFU.git
synced 2026-06-14 02:09:35 -06:00
Refactor VM Switch initialization logic
Move the `Initialize-VMSwitchData` function call from the main UI script into the `Initialize-UIDefaults` function. This change centralizes the UI default initialization logic within the core module, improving code organization and ensuring VM Switch data is loaded at the correct time.
This commit is contained in:
@@ -131,8 +131,6 @@ $window.Add_Loaded({
|
||||
|
||||
Initialize-DynamicUIElements -State $script:uiState
|
||||
|
||||
Initialize-VMSwitchData -State $script:uiState
|
||||
|
||||
Register-EventHandlers -State $script:uiState
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user