diff --git a/components/appointment/detail/Form.js b/components/appointment/detail/Form.js index fed3126..9b988bf 100644 --- a/components/appointment/detail/Form.js +++ b/components/appointment/detail/Form.js @@ -24,8 +24,11 @@ function Form({ changeData, insurance, supplementaryInsurance, data, isForAnothe className="grid mt-[12px] sm:mt-[14px] md:mt-[17px] lg:mt-[20px] items-start justify-center gap-x-[24px] gap-y-[12px] md:gap-y-[14px] lg:gap-y-[16px] grid-cols-1 sm:grid-cols-2" > - - + +
+ {data?.phone?.value} + تایید شده +
exp.name) .join("، ") || ""; diff --git a/components/appointment/location/Head.js b/components/appointment/location/Head.js index a31fa6f..a385bd8 100644 --- a/components/appointment/location/Head.js +++ b/components/appointment/location/Head.js @@ -4,8 +4,8 @@ function Head({ doctor }) { // تبدیل img array به string const doctorImage = doctor?.img?.[0]?.url || "/default-doctor.jpg"; - // تبدیل expertise array به string - const expertiseText = doctor?.expertise + // تبدیل specialties array به string + const expertiseText = doctor?.specialties ?.map((exp) => exp.name) .join("، ") || "";