Browse Source

update

(cherry picked from commit b7cfabed33)
tags/Baseline_180220205_Frontend
MSI\derek 7 months ago
parent
commit
3b89872cff
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/components/CreateProject/CreateProjectWrapper.tsx

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

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


Loading…
Cancel
Save