diff --git a/apps/dashboard/src/app/(dashboard)/fleet/[id]/page.tsx b/apps/dashboard/src/app/(dashboard)/fleet/[id]/page.tsx index b7e1ed7..d3f1a99 100644 --- a/apps/dashboard/src/app/(dashboard)/fleet/[id]/page.tsx +++ b/apps/dashboard/src/app/(dashboard)/fleet/[id]/page.tsx @@ -9,6 +9,8 @@ import { apiFetch } from '@/lib/api' import VehicleCalendar from '@/components/VehicleCalendar' import VehiclePricingManager from '@/components/VehiclePricingManager' import { useDashboardI18n } from '@/components/I18nProvider' +import LocationDropdownField from '@/components/LocationDropdownField' +import { getMoroccanCityOptions } from '@/lib/moroccanCities' interface VehicleDetail { id: string @@ -287,6 +289,7 @@ export default function FleetDetailPage() { const { dict, language } = useDashboardI18n() const vd = dict.vehicleDetail const fl = dict.fleet + const cityOptions = getMoroccanCityOptions(language) const [vehicle, setVehicle] = useState(null) const [error, setError] = useState(null) @@ -754,17 +757,15 @@ export default function FleetDetailPage() {
-
- -