Remove ignoreInCalculation from Frontend
This commit is contained in:
@@ -3,6 +3,5 @@ interface ConsumptionEntry {
|
|||||||
dateTime: string;
|
dateTime: string;
|
||||||
distance: number;
|
distance: number;
|
||||||
amount: number;
|
amount: number;
|
||||||
ignoreInCalculation: boolean;
|
|
||||||
carId: string;
|
carId: string;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,6 +2,5 @@ interface CreateConsumptionEntry {
|
|||||||
dateTime: string;
|
dateTime: string;
|
||||||
distance: number;
|
distance: number;
|
||||||
amount: number;
|
amount: number;
|
||||||
ignoreInCalculation: boolean;
|
|
||||||
carId: string;
|
carId: string;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,6 +2,5 @@ interface UpdateConsumptionEntry {
|
|||||||
dateTime: string;
|
dateTime: string;
|
||||||
distance: number;
|
distance: number;
|
||||||
amount: number;
|
amount: number;
|
||||||
ignoreInCalculation: boolean;
|
|
||||||
carId: string;
|
carId: string;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -183,7 +183,6 @@ export class EditEntryComponent implements OnInit {
|
|||||||
dateTime: dateTime.toISOString(),
|
dateTime: dateTime.toISOString(),
|
||||||
distance: this.formGroup.controls[this.formFieldNames.mileage].value!,
|
distance: this.formGroup.controls[this.formFieldNames.mileage].value!,
|
||||||
amount: this.formGroup.controls[this.formFieldNames.amount].value!,
|
amount: this.formGroup.controls[this.formFieldNames.amount].value!,
|
||||||
ignoreInCalculation: false,
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user