File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Runnect-iOS/Runnect-iOS/Presentation/MyPage/VC/InfoVC Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -320,6 +320,8 @@ extension ActivityRecordDetailVC {
320320 let status = result. statusCode
321321 if 200 ..< 300 ~= status {
322322 print ( " 삭제 성공 " )
323+ self . navigationController? . popViewController ( animated: false )
324+
323325 }
324326 if status >= 400 {
325327 print ( " 400 error " )
Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ extension ActivityRecordInfoVC: UITableViewDelegate {
259259 tableView. deselectRow ( at: indexPath, animated: true )
260260 self . deleteRecordButton. setTitle ( title: " 삭제하기 " )
261261 activityRecordDetailVC. setData ( model: activityRecordList [ indexPath. row] )
262- activityRecordDetailVC. setRecordId ( recordId: activityRecordList [ indexPath. row] . courseId )
262+ activityRecordDetailVC. setRecordId ( recordId: activityRecordList [ indexPath. row] . id )
263263
264264 // 편집 모드가 아닐 때 상세 페이지로 이동
265265 self . navigationController? . pushViewController ( activityRecordDetailVC, animated: true )
You can’t perform that action at this time.
0 commit comments