Update view modal
This commit is contained in:
parent
b5c84e5cee
commit
1de8ab75a0
|
|
@ -497,14 +497,14 @@ function App() {
|
|||
data?.listFeatureTested?.includes("DPELP")
|
||||
) {
|
||||
const valueLine = findLineByLineId(data?.lineId, data?.stationId);
|
||||
if (valueLine)
|
||||
if (valueLine && openModalTerminal)
|
||||
setLinesConfirmRunPhysical((pre) => [...pre, valueLine]);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
socket?.on("summary_tested", (data) => {
|
||||
if (data?.body) {
|
||||
if (data?.body && openModalTerminal) {
|
||||
setDataSummaryTested({
|
||||
body: data?.body || "",
|
||||
title: data?.title || "",
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ export default function ModalConfirmRunPhysical({
|
|||
title="Confirm Run Test Ports"
|
||||
>
|
||||
<Box>
|
||||
<ScrollArea h={"50vh"}>
|
||||
<ScrollArea h={"30vh"}>
|
||||
{dataLines.map((line, i) => (
|
||||
<Box
|
||||
key={i}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
import { defineConfig } from "vite";
|
||||
import react from "@vitejs/plugin-react";
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
})
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue