From 69ffc5ed26ed25ab6382caa658b11bc4352b7295 Mon Sep 17 00:00:00 2001 From: josh Date: Fri, 8 May 2026 01:18:27 -0400 Subject: [PATCH] Remove direct entry option from concentrate audits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Concentrates with a container weight now always use the weigh-container input — no toggle is shown. Other bulk types (Flower) still get the toggle between weigh container and direct entry. Co-Authored-By: Claude Opus 4.6 --- web/src/components/modals/AuditFlow.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/src/components/modals/AuditFlow.tsx b/web/src/components/modals/AuditFlow.tsx index b22ac70..adac04b 100644 --- a/web/src/components/modals/AuditFlow.tsx +++ b/web/src/components/modals/AuditFlow.tsx @@ -55,6 +55,7 @@ export function AuditFlow({ return helpers.estimatedRemaining(i, getToday(getStoredTimezone())).toFixed(2); }; const [value, setValue] = useState(initialValueFor(item)); + const isConcentrate = item?.type === "Concentrate"; const [inputMode, setInputMode] = useState<"direct" | "container">( item?.containerWeight != null ? "container" : "direct", ); @@ -177,7 +178,7 @@ export function AuditFlow({ - {tare != null && ( + {tare != null && !isConcentrate && (