minor fix
This commit is contained in:
@ -87,8 +87,8 @@ const Vehicle = () => {
|
|||||||
mileage: '',
|
mileage: '',
|
||||||
price: '',
|
price: '',
|
||||||
base_price: '',
|
base_price: '',
|
||||||
country_of_origin: '',
|
country_of_origin: 'Россия',
|
||||||
drive_type: '',
|
drive_type: 'AWD',
|
||||||
engine_type: 'бензиновый',
|
engine_type: 'бензиновый',
|
||||||
engine_capacity: '',
|
engine_capacity: '',
|
||||||
engine_power: '',
|
engine_power: '',
|
||||||
@ -151,8 +151,8 @@ const Vehicle = () => {
|
|||||||
mileage: '',
|
mileage: '',
|
||||||
price: '',
|
price: '',
|
||||||
base_price: '',
|
base_price: '',
|
||||||
country_of_origin: '',
|
country_of_origin: 'Россия',
|
||||||
drive_type: '',
|
drive_type: 'AWD',
|
||||||
engine_type: 'бензиновый',
|
engine_type: 'бензиновый',
|
||||||
engine_capacity: '',
|
engine_capacity: '',
|
||||||
engine_power: '',
|
engine_power: '',
|
||||||
@ -174,8 +174,8 @@ const Vehicle = () => {
|
|||||||
mileage: car.mileage.toString(),
|
mileage: car.mileage.toString(),
|
||||||
price: car.price.toString(),
|
price: car.price.toString(),
|
||||||
base_price: car.base_price?.toString() || '',
|
base_price: car.base_price?.toString() || '',
|
||||||
country_of_origin: car.country_of_origin || '',
|
country_of_origin: car.country_of_origin || 'Россия',
|
||||||
drive_type: car.drive_type || '',
|
drive_type: car.drive_type || 'AWD',
|
||||||
engine_type: car.engine_type || 'бензиновый',
|
engine_type: car.engine_type || 'бензиновый',
|
||||||
engine_capacity: car.engine_capacity?.toString() || '',
|
engine_capacity: car.engine_capacity?.toString() || '',
|
||||||
engine_power: car.engine_power?.toString() || '',
|
engine_power: car.engine_power?.toString() || '',
|
||||||
|
Reference in New Issue
Block a user