From 3c6b46159be28d87c888031fc58e92ed0ed3b5b9 Mon Sep 17 00:00:00 2001 From: Astalum Date: Sat, 19 Oct 2024 20:13:28 +0900 Subject: [PATCH] fix:notAssigned --- pos/app/routes/_header.casher.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pos/app/routes/_header.casher.tsx b/pos/app/routes/_header.casher.tsx index c8eff854..dfcb63f7 100644 --- a/pos/app/routes/_header.casher.tsx +++ b/pos/app/routes/_header.casher.tsx @@ -98,7 +98,8 @@ export default function Casher() { } function assign(item: WithId, assignee: string | null): void { - item.assignee = assignee; + const newAssignee = assignee === "null" ? null : assignee; + item.assignee = newAssignee; } return ( @@ -240,9 +241,7 @@ export default function Casher() { 3rd 4th 5th - - 指名なし - + 指名なし