diff --git a/LANCommander/Pages/Servers/Edit.razor b/LANCommander/Pages/Servers/Edit.razor
index 18d919f..b5f7e8e 100644
--- a/LANCommander/Pages/Servers/Edit.razor
+++ b/LANCommander/Pages/Servers/Edit.razor
@@ -23,9 +23,12 @@
}
- @foreach (var log in Server.ServerConsoles)
+ @if (Server.ServerConsoles != null)
{
-
+ foreach (var log in Server.ServerConsoles)
+ {
+
+ }
}