Update modal skip test physical
This commit is contained in:
parent
7cfe8a1d69
commit
1d5a7781ae
|
|
@ -178,7 +178,7 @@ export default function ModalConfirmSkipTestPort({
|
||||||
color={"green"}
|
color={"green"}
|
||||||
size="xs"
|
size="xs"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
if (line.reasonType === "other" && !line.note) {
|
if (line.reasonType === "other" && !line.note.trim()) {
|
||||||
setDataLines(
|
setDataLines(
|
||||||
dataLines.map((el) =>
|
dataLines.map((el) =>
|
||||||
el.id === line.id
|
el.id === line.id
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue