mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-23 19:30:06 +02:00
feat; define vehicles mock data for tree
This commit is contained in:
1 parent
7b57ee9c80
commit
8999a1e005
7 files changed
+148
-76
No files matched your search
@@ -9,9 +9,6 @@ using WotBlitzStatisticsPro.Blazor.GraphQl;
|
||||
using WotBlitzStatisticsPro.Blazor.Model;
|
||||
using WotBlitzStatisticsPro.Blazor.Services;
|
||||
|
||||
using System.Text.Json;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace WotBlitzStatisticsPro.Blazor.Pages
|
||||
{
|
||||
public class PlayerInfoTanksTreeBase: ComponentBase
|
||||
@@ -62,11 +59,11 @@ namespace WotBlitzStatisticsPro.Blazor.Pages
|
||||
string nationId = "germany";
|
||||
VehiclesLibrary = await GraphQlBackendService.GetVehiclesByNation(nationId);
|
||||
|
||||
string vehiclesLog = JsonSerializer.Serialize(VehiclesLibrary);
|
||||
Console.WriteLine(vehiclesLog);
|
||||
// string vehiclesLog = JsonSerializer.Serialize(VehiclesLibrary);
|
||||
// Console.WriteLine(vehiclesLog);
|
||||
|
||||
string tanksLog = JsonSerializer.Serialize(TanksList);
|
||||
Console.WriteLine(tanksLog);
|
||||
// string tanksLog = JsonSerializer.Serialize(TanksList);
|
||||
// Console.WriteLine(tanksLog);
|
||||
}
|
||||
catch (System.Exception e)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user