This commit is contained in:
Loretta 2024-06-26 07:50:44 +02:00
parent 8537933931
commit b4c16ecf83
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@
<CellDisplayTemplate>
@{
TransferStatusModel keyField = Statuses.FirstOrDefault(x => x.StatusValue == Convert.ToInt16(context.Value));
TransferStatusModel keyField = Statuses.FirstOrDefault(x => x.StatusValue == (byte)context.Value)!;
string transferStatusText = keyField.StatusName;
<text>@transferStatusText</text>
}