Skip to content

Commit

Permalink
revert recent changes (#15061)
Browse files Browse the repository at this point in the history
- revert changes that allowed homepage to be initialized under test mode which is still causing timeout on master-15
  • Loading branch information
dnenov authored Mar 26, 2024
1 parent d2c433b commit 1a580cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DynamoCoreWpf/Views/Core/DynamoView.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1386,15 +1386,15 @@ private void DynamoView_Loaded(object sender, EventArgs e)
}

// Load the new HomePage
if (DynamoModel.IsTestMode || IsNewAppHomeEnabled) LoadHomePage();
if (IsNewAppHomeEnabled) LoadHomePage();

loaded = true;
}

// Add the HomePage to the DynamoView once its loaded
private void LoadHomePage()
{
if (homePage == null && (startPage != null || DynamoModel.IsTestMode))
if (homePage == null && (startPage != null))
{
homePage = new UI.Views.HomePage();
homePage.DataContext = startPage;
Expand Down

0 comments on commit 1a580cf

Please sign in to comment.