@djangocfg/nextjs 2.1.251 → 2.1.254

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.mjs CHANGED
@@ -14,7 +14,7 @@ var require_package = __commonJS({
14
14
  "package.json"(exports, module) {
15
15
  module.exports = {
16
16
  name: "@djangocfg/nextjs",
17
- version: "2.1.251",
17
+ version: "2.1.254",
18
18
  description: "Next.js server utilities: sitemap, health, OG images, contact forms, navigation, config",
19
19
  keywords: [
20
20
  "nextjs",
@@ -435,7 +435,8 @@ function routesToMenuItems(routes, groupName) {
435
435
  ).sort((a, b) => (a.metadata.order || 0) - (b.metadata.order || 0)).map((r) => ({
436
436
  path: r.path,
437
437
  label: r.metadata.label,
438
- icon: r.metadata.icon
438
+ icon: r.metadata.icon,
439
+ ...r.metadata.badge !== void 0 && { badge: r.metadata.badge }
439
440
  }));
440
441
  }
441
442
  function groupRoutesByNavGroups(routes, groups) {