Sfoglia il codice sorgente

update

tags/Baseline_180220205_Frontend
MSI\derek 7 mesi fa
parent
commit
dd00a5e373
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/components/CreateProject/CreateProjectWrapper.tsx

+ 1
- 1
src/components/CreateProject/CreateProjectWrapper.tsx Vedi File

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


Caricamento…
Annulla
Salva