Skip to content

Commit

Permalink
fix:notAssigned
Browse files Browse the repository at this point in the history
  • Loading branch information
Astalum committed Oct 19, 2024
1 parent ced6941 commit 3c6b461
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pos/app/routes/_header.casher.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ export default function Casher() {
}

function assign(item: WithId<ItemEntity>, assignee: string | null): void {
item.assignee = assignee;
const newAssignee = assignee === "null" ? null : assignee;
item.assignee = newAssignee;
}

return (
Expand Down Expand Up @@ -240,9 +241,7 @@ export default function Casher() {
<SelectItem value="third">3rd</SelectItem>
<SelectItem value="fourth">4th</SelectItem>
<SelectItem value="fifth">5th</SelectItem>
<SelectItem value="notAssigned">
指名なし
</SelectItem>
<SelectItem value="null">指名なし</SelectItem>
</SelectGroup>
</SelectContent>
</Select>
Expand Down

0 comments on commit 3c6b461

Please sign in to comment.