Renders the navigation submenu entries under their parent label

This commit is contained in:
BinaryAlley committed 2026-08-29 13:11:47 +03:00
1 parent a0678bcdc8
commit 85849783b3
2 files changed
+45 -1

No files matched your search

@@ -18,4 +18,10 @@ public sealed record ThemeNavEntryDto(
string? Url,
string? CssClass,
IReadOnlyList<ThemeNavEntryDto> Children
);
)
{
/// <summary>
/// Gets whether this entry is a submenu: it has child links instead of a direct URL.
/// </summary>
public bool IsSubmenu => Children.Count > 0;
}