@ssgc/alert-console 2.10.14 → 2.10.16

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.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?.description || d?.actionNotes || "",
9053
+ description: d?.actionNotes || d?.description || "",
9054
9054
  timestamp: p
9055
9055
  };
9056
9056
  }) : [];
@@ -9347,7 +9347,7 @@ const Tc = ({
9347
9347
  ze,
9348
9348
  {
9349
9349
  onClick: e,
9350
- className: "!bg-[#6C757D] !text-white !border-[#6C757D] hover:!bg-[#5c636a] hover:!text-white hover:!border-[#5c636a]",
9350
+ className: "!bg-[#6C757D] !border-[#6C757D] hover:!bg-[#5c636a] hover:!border-[#5c636a]",
9351
9351
  children: "Cancel"
9352
9352
  }
9353
9353
  ),