File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ namespace UniFiSharp.CLI
66{
77 internal class Program
88 {
9- private static string Version => "v1.5.0 " ;
9+ private static string Version => "v1.5.1 " ;
1010 internal static bool Quiet { get ; private set ; } = false ;
1111 internal static CommandApp App { get ; private set ; } = new CommandApp ( ) ;
1212 static void Main ( string [ ] args )
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ internal IRenderable GenerateMultipleObjectListTable<TEnumerated>(IEnumerable<TE
1616 {
1717 if ( data == null || ! data . Any ( ) ) return new Text ( "<No Data>" ) ;
1818
19- var properties = ( data as IJsonObject ) . GetVisibleProperties ( Levels . Minimal ) ;
19+ var properties = data . Cast < IJsonObject > ( ) . First ( ) . GetVisibleProperties ( Levels . Minimal ) ;
2020
2121 var tbl = new Table ( ) . AddColumns (
2222 properties . Select ( p => new TableColumn ( p . GetPropertyName ( ) ) )
You can’t perform that action at this time.
0 commit comments