diff --git a/backend/vehicle/helpers.py b/backend/vehicle/helpers.py index 37107b4..c240841 100644 --- a/backend/vehicle/helpers.py +++ b/backend/vehicle/helpers.py @@ -50,7 +50,7 @@ def parse_excel_to_vehicle(excel_file): if brand is None or type is None: continue vehicle, created = Vehicle.objects.get_or_create( - brand=brand, vehicle_type=type, **vehicle_data + brand=brand, type=type, **vehicle_data ) vehicles.append(vehicle) diff --git a/frontend/src/components/buttons/AddToListButton.jsx b/frontend/src/components/buttons/AddToListButton.jsx index 26255d6..1e24a8b 100644 --- a/frontend/src/components/buttons/AddToListButton.jsx +++ b/frontend/src/components/buttons/AddToListButton.jsx @@ -6,7 +6,7 @@ export default function AddToListButton({ onClick, size = 'sm' }) { ); } diff --git a/frontend/src/components/buttons/ViewModelButton.jsx b/frontend/src/components/buttons/ViewModelButton.jsx index ad4be14..28d324c 100644 --- a/frontend/src/components/buttons/ViewModelButton.jsx +++ b/frontend/src/components/buttons/ViewModelButton.jsx @@ -14,7 +14,7 @@ export default function ViewModelButton({ onClick, size = 'sm' }) { return (