Skip to content

Commit

Permalink
Fix crash in some document browser tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sm6srw committed Nov 25, 2020
1 parent fd23222 commit ab146f9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ internal WorkspaceViewModel CurrentSpaceViewModel
{
get
{
return viewModel.Workspaces.FirstOrDefault(vm => vm.Model == dynamoModel.CurrentWorkspace);
return viewModel?.Workspaces.FirstOrDefault(vm => vm.Model == dynamoModel.CurrentWorkspace);
}
}

Expand Down

0 comments on commit ab146f9

Please sign in to comment.