aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/FSE/Tango.FSE.LogViewer.UI
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-08-31 02:57:13 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-08-31 02:57:13 +0300
commita70b86f3cb2be393ee1b5887c08fd2351a68b49b (patch)
tree2920c4f15f715473071c85779f91137ce5d7f3c1 /Software/Visual_Studio/FSE/Tango.FSE.LogViewer.UI
parent98505083eb1e53088d340d65646cb1c99cebe342 (diff)
downloadTango-a70b86f3cb2be393ee1b5887c08fd2351a68b49b.tar.gz
Tango-a70b86f3cb2be393ee1b5887c08fd2351a68b49b.zip
Filter session logs from LogViewer loading from TFS.
Diffstat (limited to 'Software/Visual_Studio/FSE/Tango.FSE.LogViewer.UI')
-rw-r--r--Software/Visual_Studio/FSE/Tango.FSE.LogViewer.UI/ViewModels/LayoutViewVM.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Visual_Studio/FSE/Tango.FSE.LogViewer.UI/ViewModels/LayoutViewVM.cs b/Software/Visual_Studio/FSE/Tango.FSE.LogViewer.UI/ViewModels/LayoutViewVM.cs
index 523f55d48..19d5598e0 100644
--- a/Software/Visual_Studio/FSE/Tango.FSE.LogViewer.UI/ViewModels/LayoutViewVM.cs
+++ b/Software/Visual_Studio/FSE/Tango.FSE.LogViewer.UI/ViewModels/LayoutViewVM.cs
@@ -384,7 +384,7 @@ namespace Tango.FSE.LogViewer.UI.ViewModels
Project project = client.GetProject("Tango").Result;
var attachements = client.GetWorkItemAttachements(id).Result;
- AttachementHandler handler = attachements.Where(x => x.Extension == ".log").LastOrDefault(x => x.Name.StartsWith(mode.ToDescription()));
+ AttachementHandler handler = attachements.Where(x => x.Extension == ".log").LastOrDefault(x => x.Name.StartsWith(mode.ToDescription()) && !x.Name.ToLower().Contains("session"));
var tempFolder = TemporaryManager.CreateFolder();
tempFile = Path.Combine(tempFolder, handler.Name);