Skip to content

Commit 16e6c29

Browse files
authored
Убрать удаленных персонажей из проблемных (#3048)
1 parent b62671e commit 16e6c29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JoinRpg.Portal/Controllers/CharacterListController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public Task<ActionResult> Deleted(int projectId, string export)
3838
[HttpGet]
3939
public Task<ActionResult> Problems(int projectid, string export)
4040
=> MasterCharacterList(projectid,
41-
(character, projectInfo) => problemValidator.Validate(character, projectInfo).Any(), export,
41+
(character, projectInfo) => character.IsActive && problemValidator.Validate(character, projectInfo).Any(), export,
4242
"Проблемные персонажи");
4343

4444
[HttpGet]

0 commit comments

Comments
 (0)