Skip to content

Commit

Permalink
Merge pull request #712 from hargata/Hargata/702
Browse files Browse the repository at this point in the history
simplify code.
  • Loading branch information
hargata authored Nov 12, 2024
2 parents 5a3ed3d + 7715e7b commit c5a5de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wwwroot/js/reports.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function generateVehicleHistoryReport() {
if (result.isConfirmed) {
var vehicleId = GetVehicleId().vehicleId;
$.post(`/Vehicle/GetVehicleHistory?vehicleId=${vehicleId}`, {
reportParameter: { visibleColumns: result.value.selectedColumnsData.visibleColumns, extraFields: result.value.selectedColumnsData.extraFields }
reportParameter: result.value.selectedColumnsData
}, function (data) {
if (data) {
$("#vehicleHistoryReport").html(data);
Expand Down

0 comments on commit c5a5de5

Please sign in to comment.