diff --git a/COMET.Web.Common/ViewModels/Components/Applications/ApplicationBaseViewModel.cs b/COMET.Web.Common/ViewModels/Components/Applications/ApplicationBaseViewModel.cs index a2250c8b..ac738cb4 100644 --- a/COMET.Web.Common/ViewModels/Components/Applications/ApplicationBaseViewModel.cs +++ b/COMET.Web.Common/ViewModels/Components/Applications/ApplicationBaseViewModel.cs @@ -53,7 +53,7 @@ public abstract class ApplicationBaseViewModel : HaveObjectChangedTracking, IApp protected ApplicationBaseViewModel(ISessionService sessionService) { this.Disposables.Add(CDPMessageBus.Current.Listen() - .Where(x => x.Session == this.SessionService?.Session && x.Status == SessionStatus.EndUpdate) + .Where(x => x.Session == sessionService?.Session && x.Status == SessionStatus.EndUpdate) .SubscribeAsync(_ => this.OnSessionRefreshed())); this.SessionService = sessionService;