Explorar el Código

update

tags/Baseline_180220205_Frontend
MSI\derek hace 7 meses
padre
commit
c4fae5fa5f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/components/CreateProject/CreateProjectWrapper.tsx

+ 1
- 1
src/components/CreateProject/CreateProjectWrapper.tsx Ver fichero

@@ -74,7 +74,7 @@ const CreateProjectWrapper: React.FC<Props> = async (props) => {
var filteredTeamLeads = teamId ? teamLeads.filter(
(teamLead) => teamLead.teamId === teamId,
) : teamLeads
if (userStaff.id && userStaff.id == 1) {
if (userStaff?.id != null && userStaff?.id == 1) {
filteredTeamLeads = teamLeads.filter(
(teamLead) => teamLead.teamId === teamId || teamLead.team == "ST",
)


Cargando…
Cancelar
Guardar