This commit is contained in:
Akhil Gupta
2021-05-31 14:52:36 +05:30
parent abd3dd407e
commit 1350db4dd6
3 changed files with 10 additions and 4 deletions

View File

@@ -42,7 +42,7 @@ export default {
},
methods: {
getEmptyVehicle(veh) {
if (!veh.id) {
if (!veh || !veh.id) {
return {
fuelUnit: null,
fuelType: null,