mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-30 08:33:19 +01:00
Fix issue listing instances without move jobs
This commit is contained in:
@@ -635,7 +635,7 @@ namespace Tgstation.Server.Host.Controllers
|
||||
instance =>
|
||||
{
|
||||
needsUpdate |= InstanceRequiredController.ValidateInstanceOnlineStatus(instanceManager, Logger, instance);
|
||||
instance.MoveJob = moveJobs.FirstOrDefault(x => x.Instance.Id == instance.Id).ToApi();
|
||||
instance.MoveJob = moveJobs.FirstOrDefault(x => x.Instance.Id == instance.Id)?.ToApi();
|
||||
},
|
||||
page,
|
||||
pageSize,
|
||||
|
||||
Reference in New Issue
Block a user