Skip to content

Commit

Permalink
fix: 공연 수정하기 조회 api에서 상세 이미지 안 불러오던 버그 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
ocahs9 committed Aug 30, 2024
1 parent 73bab41 commit 234d3ce
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/pages/modifyManage/ModifyManage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,12 @@ const ModifyManage = () => {
: [{ staffId: -1, staffName: "", staffRole: "", staffPhoto: "" }],
bankName: data.bankName,
accountHolder: data.accountHolder,
performanceImageModifyRequests: data.performanceImageList.length
? data.performanceImageList.map((item) => ({
performanceImageId: item.imageId ?? -1,
performanceImage: item.imageUrl ?? "",
}))
: [{ performanceImageId: -1, performanceImage: "" }],
},
});

Expand Down

0 comments on commit 234d3ce

Please sign in to comment.