feat(privacy): drop the office phone from the public doctor page
The number is no longer part of the public API payload, so the line under each address would have rendered a bare "تلفن:" label with nothing after it. The address and the routing button stay — those are what a visitor came for. In the dashboard the phone is still shown, now only when the venue actually has one. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -110,11 +110,13 @@ function DetailSm({ appointmentData, loading }) {
|
||||
</Button>
|
||||
</TextLoading>
|
||||
</li>
|
||||
<TextLoading loading={loading} width={100} height={18}>
|
||||
<p className="text-[#7E7E7E] text-[14px] font-normal mt-[12px]">
|
||||
تلفن: <span className="text-[#616161]">{appointmentData?.address?.telephone}</span>
|
||||
</p>
|
||||
</TextLoading>
|
||||
{appointmentData?.address?.telephone && (
|
||||
<TextLoading loading={loading} width={100} height={18}>
|
||||
<p className="text-[#7E7E7E] text-[14px] font-normal mt-[12px]">
|
||||
تلفن: <span className="text-[#616161]">{appointmentData.address.telephone}</span>
|
||||
</p>
|
||||
</TextLoading>
|
||||
)}
|
||||
</ul>
|
||||
<ButtonData loading={loading} onDownload={handleDownloadPDF} />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user