fix:(logistica) ajusta bug de poder colocar no carro fotografo pendente
This commit is contained in:
parent
1ef8d3f435
commit
609332fbb5
1 changed files with 4 additions and 2 deletions
|
|
@ -4,7 +4,7 @@ import { ArrowLeft, MapPin, Calendar, Clock, DollarSign } from 'lucide-react';
|
|||
import { useAuth } from '../contexts/AuthContext';
|
||||
import { useData } from '../contexts/DataContext';
|
||||
import { getAgendas } from '../services/apiService';
|
||||
import { UserRole } from '../types';
|
||||
import { UserRole, AssignmentStatus } from '../types';
|
||||
import EventScheduler from '../components/EventScheduler';
|
||||
import EventLogistics from '../components/EventLogistics';
|
||||
|
||||
|
|
@ -121,7 +121,9 @@ const EventDetails: React.FC = () => {
|
|||
<div className="space-y-6">
|
||||
<EventLogistics
|
||||
agendaId={id!}
|
||||
assignedProfessionals={event.assignments?.map((a: any) => a.professionalId)}
|
||||
assignedProfessionals={event.assignments
|
||||
?.filter((a: any) => a.status === AssignmentStatus.ACCEPTED)
|
||||
.map((a: any) => a.professionalId)}
|
||||
/>
|
||||
|
||||
{/* Equipment / Studios Section (Placeholder for now based on spreadsheet) */}
|
||||
|
|
|
|||
Loading…
Reference in a new issue