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