We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fba0812 commit 6f06212Copy full SHA for 6f06212
RemoteLogViewer.Core/ViewModels/LogViewerViewModel.cs
@@ -53,7 +53,7 @@ public LogViewerViewModel(SshServerSelectorViewModel sshServerSelectorViewModel,
53
.SelectedSshConnectionInfo
54
.ObservePropertyChanged(x => x.Value)
55
.Subscribe(x => {
56
- this.Title.Value = $"{x?.Name.Value ?? string.Empty}";
+ this.Title.Value = string.IsNullOrEmpty(x?.Name.Value) ? "New Log Tab" : x.Name.Value;
57
}).AddTo(this.CompositeDisposable);
58
59
_ = sshSessionModel.IsConnected.Subscribe(isConnected => {
0 commit comments