Skip to content

Commit

Permalink
callouts: fix updating UG-ÖEL type
Browse files Browse the repository at this point in the history
  • Loading branch information
gampig committed Sep 22, 2023
1 parent 1dce7f1 commit 74cbbdc
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions src/modules/callout/views/crew/VehicleDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,15 @@ export default FormMixin.extend({
this.saving = true;
Promise.all([
this.updateCallout({
type: {
...this.callout.type,
"UG-ÖEL": this.isUgOeelCallout,
},
}),
this.isUgOeelCallout !== undefined && this.isUgOeelCallout !== null
? this.updateCallout({
type: {
...this.callout.type,
"UG-ÖEL": this.isUgOeelCallout,
},
})
: Promise.resolve(null),
this.updateVehicleDetails({
vehicleId: this.vehicle.id,
details: this.item,
Expand Down

0 comments on commit 74cbbdc

Please sign in to comment.