import { RepairDeskView } from './repair-desk-view'

interface RepairsStationProps {
  permissions: string[]
}

export function RepairsStation({ permissions }: RepairsStationProps) {
  const canEdit = permissions.includes('repairs.edit')

  // TODO: Phase 3 — if user only has repairs.view (technician), show RepairTechView instead
  return <RepairDeskView canEdit={canEdit} />
}
