This commit is contained in:
andrew.ng 2026-06-11 09:46:12 +07:00
parent 2adab647cc
commit c495843e1b
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ export default function ModalConfirmSkipTestPort({
color={"green"} color={"green"}
size="xs" size="xs"
onClick={() => { onClick={() => {
if (line.reasonType === "other" && !line.note.trim()) { if (line.reasonType === "other" && !line.note?.trim()) {
setDataLines( setDataLines(
dataLines.map((el) => dataLines.map((el) =>
el.id === line.id el.id === line.id