소스 검색

update

tags/Baseline_180220205_Frontend
MSI\derek 7 달 전
부모
커밋
c4fae5fa5f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      src/components/CreateProject/CreateProjectWrapper.tsx

+ 1
- 1
src/components/CreateProject/CreateProjectWrapper.tsx 파일 보기

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


불러오는 중...
취소
저장