@ssgc/alert-console 2.10.14 → 2.10.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +2 -2
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -9045,12 +9045,12 @@ const Tc = ({
|
|
|
9045
9045
|
severity: s || "",
|
|
9046
9046
|
location: n || "",
|
|
9047
9047
|
alertNumber: r ?? ""
|
|
9048
|
-
}, { timeZoneDetails: l } = ts(), u = i?.length ? i.map((d) => {
|
|
9048
|
+
}, { timeZoneDetails: l } = ts(), u = i?.length ? [...i].reverse().map((d) => {
|
|
9049
9049
|
const y = (d?.status || d?.eventStatus || "").toLowerCase() === "completed" ? "Completed" : "Inprogress", p = d?.createdDate ? jt(d.createdDate, l?.ianaTimeZoneId) : d?.timestamp ? jt(d.timestamp, l?.ianaTimeZoneId) : "";
|
|
9050
9050
|
return {
|
|
9051
9051
|
status: y,
|
|
9052
9052
|
title: d?.status || d?.eventStatus || "Status Update",
|
|
9053
|
-
description: d?.
|
|
9053
|
+
description: d?.actionNotes || d?.description || "",
|
|
9054
9054
|
timestamp: p
|
|
9055
9055
|
};
|
|
9056
9056
|
}) : [];
|