Update status to match UI
This commit is contained in:
@@ -234,7 +234,7 @@ public class AgentSummaryRepository : IAgentSummaryRepository
|
||||
{
|
||||
var agentSummaries = await _context.AgentSummaries
|
||||
.Include(a => a.User)
|
||||
.Where(a => _context.Bots.Any(b => b.UserId == a.UserId && b.Status == BotStatus.Up))
|
||||
.Where(a => _context.Bots.Any(b => b.UserId == a.UserId && b.Status == BotStatus.Running))
|
||||
.ToListAsync();
|
||||
|
||||
return agentSummaries.Select(MapToDomain);
|
||||
|
||||
Reference in New Issue
Block a user