-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtrash.txt
24 lines (24 loc) · 977 Bytes
/
trash.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<div className="overflow-x-auto noselect mb-16"> {/* ถ้าพบรายการเเจ้งเตือน */}
<table className="table table-sm">
<thead>
<tr className="text-center">
<th>{t("Alert ID")}</th>
<th>{t("Alert Name")}</th>
<th>{t("Alert Date")}</th>
<th>{t("Alert Time")}</th>
<th>{t("Alert Slot")}</th>
</tr>
</thead>
<tbody>
{cabinetAlertList?.map((alert: any, i: number) => (
<tr className="text-center" key={i} >
<td>{alert.id}</td>
<td>{alert.alert_name}</td>
<td>{(alert.alert_time).split("T")[0]}</td>
<td>{(alert.alert_time).split("T")[1].split(".")[0]}</td>
<td>{(alert.alert_slot).join(", ")}</td>
</tr>
))}
</tbody>
</table>
</div>