From b00d18d0b3b3d65d8f791acd5bb9e7a109b12548 Mon Sep 17 00:00:00 2001 From: BOHA Date: Sun, 7 Jun 2026 21:54:42 +0200 Subject: [PATCH] =?UTF-8?q?fix(plan):=20drop=20duplicate=20'Zru=C5=A1it'?= =?UTF-8?q?=20in=20the=20view-mode=20cell=20modal?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The read-only plan-cell detail modal (view mode) already has a "Zavřít" submit button, but the kit Modal also rendered its built-in "Zrušit" cancel — two buttons that do the same thing. Pass hideCancel so only "Zavřít" remains (same fix as the category-management modal). Co-Authored-By: Claude Opus 4.8 (1M context) --- src/admin/components/PlanCellModal.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/admin/components/PlanCellModal.tsx b/src/admin/components/PlanCellModal.tsx index 6f01651..f524b1e 100644 --- a/src/admin/components/PlanCellModal.tsx +++ b/src/admin/components/PlanCellModal.tsx @@ -479,6 +479,7 @@ function ViewModal(props: Props) { onClose={onClose} onSubmit={onClose} submitText="Zavřít" + hideCancel > Datum: {formatDate(c.shift_date)}