Skip to content

Commit d580aea

Browse files
committed
Refactor: Exclude 'general' and 'repair' types from the generic brand/model display condition in the maintenance form.
1 parent 9a13ca4 commit d580aea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/maintenance-form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ export function MaintenanceForm({ motorcycleId, initialData, currencyCode, defau
194194
)}
195195

196196
{/* Generic Brand/Model */}
197-
{(["tire", "battery", "fluid", "chain", "brakepad", "brakerotor", "general", "repair"].includes(type)) && (
197+
{(["tire", "battery", "fluid", "chain", "brakepad", "brakerotor"].includes(type)) && (
198198
<>
199199
<div className="space-y-1.5">
200200
<label htmlFor="brand" className="text-xs font-semibold uppercase tracking-wider text-secondary dark:text-navy-300">Marke / Hersteller</label>

0 commit comments

Comments
 (0)