Selaa lähdekoodia

update

tags/Baseline_180220205_Frontend
MSI\derek 7 kuukautta sitten
vanhempi
commit
dd00a5e373
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      src/components/CreateProject/CreateProjectWrapper.tsx

+ 1
- 1
src/components/CreateProject/CreateProjectWrapper.tsx Näytä tiedosto

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


Ladataan…
Peruuta
Tallenna