diff --git a/src/PanoptesFrontend/Pages/Counter.razor b/src/PanoptesFrontend/Pages/Counter.razor deleted file mode 100644 index ef23cb3..0000000 --- a/src/PanoptesFrontend/Pages/Counter.razor +++ /dev/null @@ -1,18 +0,0 @@ -@page "/counter" - -Counter - -

Counter

- -

Current count: @currentCount

- - - -@code { - private int currentCount = 0; - - private void IncrementCount() - { - currentCount++; - } -} diff --git a/src/PanoptesFrontend/Pages/ModConfig.razor b/src/PanoptesFrontend/Pages/ModConfig.razor index 38d5028..4c7930b 100644 --- a/src/PanoptesFrontend/Pages/ModConfig.razor +++ b/src/PanoptesFrontend/Pages/ModConfig.razor @@ -13,7 +13,7 @@
- +
@@ -29,14 +29,14 @@
- +
- +
- +
@@ -64,14 +64,14 @@
- +
- +
-
Key
+
@@ -106,7 +106,7 @@ private string Value1 { get; set; } private string Key2 { get; set; } private string Value2 { get; set; } - private ModuleConfig ModuleConfig { get; set; } = new ModuleConfig(); + public ModuleConfig ModuleConfig { get; set; } = new ModuleConfig(); @@ -128,6 +128,7 @@ { // Log ModuleConfig object to console and send to backend var config = JsonSerializer.Serialize(ModuleConfig); + Console.WriteLine(config); await httpService.PostAsync("http://localhost:8080/config_module", config); } }
Key