@sarunyu/system-one 4.9.24 → 4.9.25
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 +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4093,16 +4093,16 @@ const Notification = forwardRef(
|
|
|
4093
4093
|
style: { width: (mobileAlign == null ? void 0 : mobileAlign.width) ?? panelWidth },
|
|
4094
4094
|
children: /* @__PURE__ */ jsxs("div", { className: "max-h-[480px] overflow-y-auto", children: [
|
|
4095
4095
|
!hasItems && /* @__PURE__ */ jsx("div", { className: "px-4 py-8 text-center text-sm text-muted-foreground", children: emptyText }),
|
|
4096
|
-
groups.map((group) => /* @__PURE__ */ jsx("div", { className: "w-full", children: /* @__PURE__ */ jsx("div", { children: group.items.map((item) => /* @__PURE__ */ jsx(
|
|
4096
|
+
groups.map((group, gi) => /* @__PURE__ */ jsx("div", { className: "w-full", children: /* @__PURE__ */ jsx("div", { children: group.items.map((item, ii) => /* @__PURE__ */ jsx(
|
|
4097
4097
|
NotificationRow,
|
|
4098
4098
|
{
|
|
4099
4099
|
item,
|
|
4100
4100
|
onItemClick: handleItemClick,
|
|
4101
|
-
hideIndicator: clickedItemIds.has(item.id),
|
|
4101
|
+
hideIndicator: item.id ? clickedItemIds.has(item.id) : false,
|
|
4102
4102
|
demoteNewBackground: wasDismissed
|
|
4103
4103
|
},
|
|
4104
|
-
item.id
|
|
4105
|
-
)) }) }, group.label))
|
|
4104
|
+
item.id ?? `${gi}-${ii}`
|
|
4105
|
+
)) }) }, group.label ?? gi))
|
|
4106
4106
|
] })
|
|
4107
4107
|
}
|
|
4108
4108
|
) })
|