|
@@ -28,7 +28,7 @@ export default function ReportCom(props) {
|
|
|
data.errorTableData.push(item);
|
|
|
} else if (item.Status == 2 && statusCheck.includes(2)) {
|
|
|
data.warningTableData.push(item);
|
|
|
- } else if (statusCheck.includes(0)) {
|
|
|
+ } else if (item.Status == 0 && statusCheck.includes(0)) {
|
|
|
data.normalData.push(item);
|
|
|
}
|
|
|
});
|
|
@@ -111,7 +111,7 @@ export default function ReportCom(props) {
|
|
|
<DeviceTable
|
|
|
onClickItem={sendMessageToUnity}
|
|
|
select={select}
|
|
|
- items={allData}
|
|
|
+ items={normalData}
|
|
|
data={data}
|
|
|
key={type}
|
|
|
type={type}
|