Skip to content

Commit

Permalink
fix: 관리자 파티 페이지에서 드라이버 이름이 표기 안되는 오류 (#160)
Browse files Browse the repository at this point in the history
관리자 파티 페이지에서 드라이버 이름이 표기 안되는 오류
  • Loading branch information
DaeHee99 authored Jul 22, 2024
2 parents 65303df + d107178 commit 203039f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/pages/AdminPage/Management/Party/PartyDetail/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ function PartyDetail({ partyId }) {
driverReady={partyData.driverReady}
partyStatus={partyData.partyStatus}
proposal={partyData.proposal}
driverName={partyData.driverName}
/>
{partyData.partyStatus === "CANCELED_BY_DRIVER_REFUSED" ||
partyData.partyStatus === "CANCELED_BY_PROPOSER" ||
Expand Down
4 changes: 3 additions & 1 deletion src/pages/AdminPage/User/UserInfo/UserTable/Body/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ function Body({
userNickname,
loginId,
suspensionDuration,
name,
phoneNumber,
createdAt,
setProfileId,
setShowProfileModal,
setShowRegionModal,
}) {
return (
<div className="w-full py-3 grid grid-cols-6 items-center text-center bg-white border border-gray300 rounded-xl">
<div className="w-full py-3 grid grid-cols-7 items-center text-center bg-white border border-gray300 rounded-xl">
<p className="px-1 text-gray700 font-medium">{userNickname}</p>
<p className="px-1 text-gray700 font-medium">
<span>{loginId}</span>
Expand All @@ -22,6 +23,7 @@ function Body({
</span>
)}
</p>
<p className="px-1 text-gray700 font-medium">{name}</p>
<p className="px-1 text-gray700 font-medium">
{makePhoneNumber(phoneNumber)}
</p>
Expand Down
3 changes: 2 additions & 1 deletion src/pages/AdminPage/User/UserInfo/UserTable/Head/index.jsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
function Head() {
return (
<div className="w-full py-3 grid grid-cols-6 items-center text-center bg-skyblue rounded-xl">
<div className="w-full py-3 grid grid-cols-7 items-center text-center bg-skyblue rounded-xl">
<p>닉네임</p>
<p>아이디</p>
<p>이름</p>
<p>전화번호</p>
<p>가입 날짜</p>
<p>프로필</p>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/MyProfilePage/DriverProfile/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function DriverProfile({ driverInfo, setDriverInfo, getMyDriverInfo }) {
bank: driverInfo.bank,
holidays: driverInfo.holidays,
introduction: driverInfo.introduction,
phoneNumber: driverInfo.phoneNumber,
phoneNumber: driverInfo.phoneNumber.replaceAll("-", ""),
prices: driverInfo.prices,
profileImg: profileImageURL,
region: driverInfo.region,
Expand Down Expand Up @@ -99,7 +99,7 @@ function DriverProfile({ driverInfo, setDriverInfo, getMyDriverInfo }) {
bank: driverInfo.bank,
holidays: driverInfo.holidays,
introduction: driverInfo.introduction,
phoneNumber: driverInfo.phoneNumber,
phoneNumber: driverInfo.phoneNumber.replaceAll("-", ""),
prices: driverInfo.prices,
profileImg: profileImageURL,
region: driverInfo.region,
Expand Down

0 comments on commit 203039f

Please sign in to comment.