Ver código fonte

update

tags/Baseline_180220205_Frontend
MSI\derek 7 meses atrás
pai
commit
1d37b45088
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      src/components/CreateProject/CreateProjectWrapper.tsx

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

@@ -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",
)


Carregando…
Cancelar
Salvar