|
@@ -11,7 +11,7 @@
|
|
|
<% } %>
|
|
|
<% for (const index in ctx.menuList) { %>
|
|
|
<% if (ctx.menuList[index].display === undefined || !ctx.menuList[index].display) { continue } %>
|
|
|
- <li <% if(ctx.controllerName === index || (ctx.controllerName === 'list' && index === 'tender')) { %>class="active"<% } %>>
|
|
|
+ <li <% if(ctx.controllerName === index || (ctx.controllerName === 'list' && index === 'tender') || (ctx.menuList[index].url && ctx.menuList[index].url === ctx.menu.url)) { %>class="active"<% } %>>
|
|
|
<a href="<%- (index === 'tender' ? ctx.curListUrl : ctx.menuList[index].url) %>" id="<%- 'nav_' + index%>" data-toggle="tooltip" data-placement="right" title="" data-original-title="<%- ctx.menuList[index].name %>">
|
|
|
<i class="fa <%- ctx.menuList[index].icon %>"></i>
|
|
|
<% if (ctx.menuList[index].caption) { %>
|