Allow custody entry with selected characters only

This commit is contained in:
Codex 2026-12-05 00:23:49 +00:00
parent 59e19ed5f7
commit 0060c19109
2 changed files with 2 additions and 2 deletions

View File

@ -8209,7 +8209,7 @@ public sealed class AssetService(
AssetCustodyEventTypeID = model.AssetCustodyEventTypeID,
Description = model.Description
},
model.CustodianNames,
model.CustodianNames ?? string.Empty,
model.CustodianCharacterIds,
model.CustodyRoleID);

View File

@ -1870,7 +1870,7 @@ public sealed class AssetCustodyCreateViewModel
public int AssetCustodyEventTypeID { get; set; }
public int CustodyRoleID { get; set; }
public List<int> CustodianCharacterIds { get; set; } = [];
public string CustodianNames { get; set; } = string.Empty;
public string? CustodianNames { get; set; }
public string? Description { get; set; }
public int? ReturnProjectID { get; set; }
public int? ReturnBookID { get; set; }