Showing
2 changed files
with
16 additions
and
1 deletions
... | @@ -131,6 +131,7 @@ const ManagerMenuPresenter = (props : ManagerMenuProps) => { | ... | @@ -131,6 +131,7 @@ const ManagerMenuPresenter = (props : ManagerMenuProps) => { |
131 | </styled.ContentInfo> | 131 | </styled.ContentInfo> |
132 | </styled.ContentInfoWrapper> | 132 | </styled.ContentInfoWrapper> |
133 | { | 133 | { |
134 | + props.doctorRegReqList.length ? | ||
134 | props.doctorRegReqList.map((doctor : any) => { | 135 | props.doctorRegReqList.map((doctor : any) => { |
135 | return ( | 136 | return ( |
136 | <styled.EachContentWrapper | 137 | <styled.EachContentWrapper |
... | @@ -154,7 +155,10 @@ const ManagerMenuPresenter = (props : ManagerMenuProps) => { | ... | @@ -154,7 +155,10 @@ const ManagerMenuPresenter = (props : ManagerMenuProps) => { |
154 | </styled.EachContentNm> | 155 | </styled.EachContentNm> |
155 | </styled.EachContentWrapper> | 156 | </styled.EachContentWrapper> |
156 | ) | 157 | ) |
157 | - }) | 158 | + }) : |
159 | + <styled.NothingWrapper> | ||
160 | + 🤔검색 결과가 없습니다. | ||
161 | + </styled.NothingWrapper> | ||
158 | } | 162 | } |
159 | </styled.ContentBody> | 163 | </styled.ContentBody> |
160 | </styled.ContentWrapper> | 164 | </styled.ContentWrapper> | ... | ... |
... | @@ -416,3 +416,14 @@ export const EachContentNm = styled.div<{isLast : boolean}> ` | ... | @@ -416,3 +416,14 @@ export const EachContentNm = styled.div<{isLast : boolean}> ` |
416 | border-right : ${props => props.isLast ? '1px solid transparent' : '1px solid #ddd'}; | 416 | border-right : ${props => props.isLast ? '1px solid transparent' : '1px solid #ddd'}; |
417 | 417 | ||
418 | `; | 418 | `; |
419 | + | ||
420 | +export const NothingWrapper = styled.div ` | ||
421 | + height : 100%; | ||
422 | + width : 100%; | ||
423 | + | ||
424 | + display : flex; | ||
425 | + justify-content : center; | ||
426 | + align-items : center; | ||
427 | + | ||
428 | + color : #a0a0a0; | ||
429 | +`; | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment