AreaCom: Make YearFrom nullable
All checks were successful
Test / Run tests (push) Successful in 1m48s
All checks were successful
Test / Run tests (push) Successful in 1m48s
This commit is contained in:
@ -565,7 +565,7 @@ namespace Elwig.Helpers.Export {
|
||||
KgNr = kgnr,
|
||||
GstNr = json["gstnr"]?.AsValue().GetValue<string>() ?? "-",
|
||||
RdNr = rd?.RdNr,
|
||||
YearFrom = json["year_from"]!.AsValue().GetValue<int>(),
|
||||
YearFrom = json["year_from"]?.AsValue().GetValue<int>(),
|
||||
YearTo = json["year_to"]?.AsValue().GetValue<int>(),
|
||||
Comment = json["comment"]?.AsValue().GetValue<string>(),
|
||||
}, newRd ? rd : null);
|
||||
|
Reference in New Issue
Block a user