From adac1ea0ea36d704bc66641bb11878ca6c5622c4 Mon Sep 17 00:00:00 2001 From: Joao Rua Date: Wed, 19 Jun 2024 11:29:54 +0100 Subject: [PATCH] removed unnecessary todo --- .../Components/Applications/ApplicationBase.razor.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/COMET.Web.Common/Components/Applications/ApplicationBase.razor.cs b/COMET.Web.Common/Components/Applications/ApplicationBase.razor.cs index f40003d1..e13cfaf7 100644 --- a/COMET.Web.Common/Components/Applications/ApplicationBase.razor.cs +++ b/COMET.Web.Common/Components/Applications/ApplicationBase.razor.cs @@ -83,8 +83,6 @@ protected override void OnParametersSet() { base.OnParametersSet(); - //todo: create condition to prevent this from being executed everytime - this.ViewModel = this.ParameterizedViewModel ?? this.InjectedViewModel; if (this.ParameterizedViewModel != null && this.InjectedViewModel != null)