mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 03:11:10 +00:00
Renders the navigation submenu entries under their parent label
This commit is contained in:
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;
|
||||
}
|
||||
Reference in new issue
Block a user