fix
All checks were successful
Build And Deploy Main / build-and-deploy (push) Successful in 33s

This commit is contained in:
2026-03-13 11:29:10 -04:00
parent 9947d3903d
commit e4eeffc9ff

View File

@@ -580,11 +580,13 @@ const ViewVehicle = () => {
{currentTab === 'documents' && (
<>
<input className="me-2 with-search-icon" type="text" placeholder="Search" value={keyword} onChange={(e) => setKeyword(e.currentTarget.value)} />
{AuthService.canExportVehicleReport() && (
<Export
columns={columnsRepair}
data={filteredRepairs}
filename={`vehicle-${currentVehicle?.vehicle_number}-repairs`}
/>
)}
</>
)}
{currentTab !== 'documents' && AuthService.canEditVehicleBasic() && (