fix: support chat elevated only on PDP, rx button opens modal instantly, and hide pet badge when not logged in
Deploy Canina / deploy (push) Failing after 21s

This commit is contained in:
devops committed 2026-10-18 13:50:54 +00:00
1 parent b54338f91f
commit 6a37f2f4c7
3 files changed
+14 -7

No files matched your search

+3 -2
View File
@@ -249,11 +249,12 @@ export default function Header({
{/* Left Action Buttons */}
<div className="flex items-center gap-1.5 sm:gap-3 shrink-0">
{/* Prescription Upload Button (Desktop & Mobile) */}
{/* Prescription Upload Button (Desktop & Mobile) - Opens Prescription Modal */}
{isPrescriptionEnabled && (
<button
type="button"
onClick={() => {
window.location.href = "/prescriptions";
setIsPrescriptionModalOpen(true);
}}
className="flex items-center gap-1.5 px-2.5 sm:px-3 py-2 bg-emerald-50 text-emerald-700 border border-emerald-200 hover:bg-emerald-100 rounded-xl text-[11px] sm:text-xs font-black transition-all shadow-xs cursor-pointer"
title="ثبت نسخه دامپزشک"