Skip to content

Commit 6f2394c

Browse files
Skip API modules on Sidebar tree
1 parent 7325bfa commit 6f2394c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ApiIntegrationMvc/Views/Shared/Components/CategoryTree/Default.cshtml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
<ul class="nav flex-column mb-2">
2929
@foreach (var m in cat.Modules)
3030
{
31+
if (m.Type == "Api")
32+
continue;
33+
3134
<li class="nav-item">
3235
<a class="nav-link"
3336
asp-area="@m.Area"

0 commit comments

Comments
 (0)