Skip to content

Commit

Permalink
Fixed #520
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinHo64 committed Oct 30, 2024
1 parent 75fa8ac commit 4e64469
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@
private Task SelectLearningSpace(ILearningSpaceViewModel learningSpace)
{
Mediator.RequestOpenSpaceDialog();
if (SelectedViewModelsProvider.LearningElement != null && SelectedViewModelsProvider.LearningElement.Parent != learningSpace)
if (SelectedViewModelsProvider.LearningElement != null)
SelectedViewModelsProvider.SetLearningElement(null, null);
SelectedViewModelsProvider.SetLearningObjectInPathWay(learningSpace, null);
return Task.CompletedTask;
Expand Down

0 comments on commit 4e64469

Please sign in to comment.