Skip to content

Commit

Permalink
small update for applicationbase component to be inline with current …
Browse files Browse the repository at this point in the history
…implementation
  • Loading branch information
joao4all committed Jun 19, 2024
1 parent adac1ea commit 15fc1a5
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ protected override void OnParametersSet()
{
base.OnParametersSet();

if (this.ViewModel != null && this.ParameterizedViewModel == null)
{
return;
}

this.ViewModel = this.ParameterizedViewModel ?? this.InjectedViewModel;

if (this.ParameterizedViewModel != null && this.InjectedViewModel != null)
Expand Down

0 comments on commit 15fc1a5

Please sign in to comment.