refactor(backend): simplify cargo kind loading
This commit is contained in:
@@ -14,7 +14,7 @@ internal static class ProductionGraphBuilder
|
||||
ItemId = item.Id,
|
||||
Name = item.Name,
|
||||
Group = item.Group,
|
||||
CargoKind = item.CargoKind,
|
||||
CargoKind = item.CargoKind?.ToDataValue() ?? string.Empty,
|
||||
},
|
||||
StringComparer.Ordinal);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user