@tangle-network/sandbox-ui 0.37.0 → 0.37.1
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.
|
@@ -1579,19 +1579,21 @@ function DashboardLayoutInner({
|
|
|
1579
1579
|
badge: item.badge,
|
|
1580
1580
|
showLabel: showLabels
|
|
1581
1581
|
}
|
|
1582
|
-
) : /* @__PURE__ */ jsx14(
|
|
1582
|
+
) : /* @__PURE__ */ jsx14(
|
|
1583
1583
|
RailButton,
|
|
1584
1584
|
{
|
|
1585
1585
|
icon: item.icon,
|
|
1586
1586
|
label: item.label,
|
|
1587
1587
|
isActive: activeNavId === item.id,
|
|
1588
|
-
showLabel: showLabels
|
|
1588
|
+
showLabel: showLabels,
|
|
1589
|
+
asChild: true,
|
|
1590
|
+
children: /* @__PURE__ */ jsx14(Link, { href: item.href, to: item.href })
|
|
1589
1591
|
}
|
|
1590
|
-
)
|
|
1592
|
+
)
|
|
1591
1593
|
] }, item.id);
|
|
1592
1594
|
}) }),
|
|
1593
1595
|
/* @__PURE__ */ jsxs13(SidebarRailFooter, { children: [
|
|
1594
|
-
onSettingsClick ? /* @__PURE__ */ jsx14(RailButton, { icon: SettingsIconSmall, label: "Settings", onClick: onSettingsClick, showLabel: showLabels }) : /* @__PURE__ */ jsx14(
|
|
1596
|
+
onSettingsClick ? /* @__PURE__ */ jsx14(RailButton, { icon: SettingsIconSmall, label: "Settings", onClick: onSettingsClick, showLabel: showLabels }) : /* @__PURE__ */ jsx14(RailButton, { icon: SettingsIconSmall, label: "Settings", showLabel: showLabels, asChild: true, children: /* @__PURE__ */ jsx14(Link, { href: settingsHref, to: settingsHref }) }),
|
|
1595
1597
|
railFooter,
|
|
1596
1598
|
/* @__PURE__ */ jsx14(RailSeparator, {}),
|
|
1597
1599
|
/* @__PURE__ */ jsx14(
|
package/dist/dashboard.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED