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 @@ Console } - @foreach (var log in Server.ServerConsoles) + @if (Server.ServerConsoles != null) { - @log.Name + foreach (var log in Server.ServerConsoles) + { + @log.Name + } } Files