Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2021-1-capstone-design1
/
RIT_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
박권수
2021-09-19 00:34:57 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6ad5e2348221bb9df8ff3ae4a9ba18090ec93aae
6ad5e234
1 parent
4358d998
style. code style
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
12 deletions
web/src/views/main/manager/ManagerMenuContainer.tsx
web/src/views/main/manager/ManagerMenuContainer.tsx
View file @
6ad5e23
...
...
@@ -86,12 +86,11 @@ const ManagerMenuContainer = (props : ManagerMenuProps) => {
await managerApi.acceptDoctorRegReq(token, {
doctorId : doctorDetail.doctorId,
validateDoctorLicense,
})
.then((res : any) => {
if(res.statusText === 'OK') {
Alert.onSuccess('회원 등록이 완료되었습니다.', fetchData);
}
})
}).then((res : any) => {
if(res.statusText === 'OK') {
Alert.onSuccess('회원 등록이 완료되었습니다.', fetchData);
}
});
} catch(e : any) {
Alert.onError(e.response.data.error, () => setModalUp(false));
}
...
...
@@ -106,12 +105,11 @@ const ManagerMenuContainer = (props : ManagerMenuProps) => {
try {
await managerApi.rejectDoctorRegReq(token, {
doctorId : doctorDetail.doctorId,
})
.then((res : any) => {
if(res.statusText === 'OK') {
Alert.onSuccess('회원 등록이 취소되었습니다.', fetchData);
}
})
}).then((res : any) => {
if(res.statusText === 'OK') {
Alert.onSuccess('회원 등록이 취소되었습니다.', fetchData);
}
});
} catch(e : any) {
Alert.onError(e.response.data.error, () => setModalUp(false));
}
...
...
Please
register
or
login
to post a comment