Skip to content

Commit

Permalink
json visualiser fix #886
Browse files Browse the repository at this point in the history
  • Loading branch information
LiorBanai committed Feb 24, 2021
1 parent c68e238 commit 4719c7a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Analogy/Analogy.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<RepositoryUrl>https://github.com/Analogy-LogViewer/Analogy.LogViewer</RepositoryUrl>
<PackageTags />
<RepositoryType>git</RepositoryType>
<Version>4.6.1</Version>
<Version>4.6.2</Version>
<Copyright>Lior Banai © 2019-2020</Copyright>
<Product>Analogy Log Viewer</Product>
<PackageReleaseNotes></PackageReleaseNotes>
Expand Down
1 change: 1 addition & 0 deletions Analogy/CommonChangeLog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public static IEnumerable<AnalogyChangeLog> GetChangeLog()
{
return new List<AnalogyChangeLog>
{
new AnalogyChangeLog("V4.6.2 - [json visualizer] string not in the correct format Error #886",AnalogChangeLogType.Bug,"Lior Banai",new DateTime(2021,02,24)),
new AnalogyChangeLog("V4.6.1 - [UI] Fix high res monitors rendering #879",AnalogChangeLogType.Bug,"Lior Banai",new DateTime(2021,02,18)),
new AnalogyChangeLog("V4.6.1 - Fix floating panels sizes #878",AnalogChangeLogType.Bug,"Lior Banai",new DateTime(2021,02,18)),
new AnalogyChangeLog("V4.6.0 - Enable gRPC on .NET framework version #874",AnalogChangeLogType.Improvement,"Lior Banai",new DateTime(2021,02,13)),
Expand Down
4 changes: 2 additions & 2 deletions Analogy/Tools/JsonViewer/JsonTreeNodeCreator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ internal static JsonTreeNode CreateNode(string property, JToken item)
string value = item.ToString();
text = property == null ?
value :
string.Format($"{property}: {value}");
textWhenSelected = string.Format($"{text} (type: {item.Type})");
$"{property}: {value}";
textWhenSelected = $"{text} (type: {item.Type})";
}

type = item.Type == JTokenType.Object ? JsonNodeType.Object :
Expand Down

0 comments on commit 4719c7a

Please sign in to comment.