Skip to content

Commit

Permalink
Merge pull request #20 from hargata/electric.vehicle
Browse files Browse the repository at this point in the history
dumb
  • Loading branch information
hargata authored Jan 7, 2024
2 parents bfdef5d + 70308ed commit 0487feb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controllers/VehicleController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ public IActionResult SaveGasRecordToVehicleId(GasRecordInput gasRecord)
[HttpGet]
public IActionResult GetAddGasRecordPartialView()
{
return PartialView("_GasModal", new GasRecordInputContainer());
return PartialView("_GasModal", new GasRecordInputContainer() { GasRecord = new GasRecordInput() });
}
[HttpGet]
public IActionResult GetGasRecordForEditById(int gasRecordId)
Expand Down

0 comments on commit 0487feb

Please sign in to comment.