-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Style active node in ShellBar #2474
Style active node in ShellBar #2474
Conversation
Note: This PR converted |
…cted-node-top-nav-bug
…ich/luigi into 2460-selected-node-top-nav-bug
core/src/navigation/TopNav.svelte
Outdated
<!-- {:else} | ||
<li class="fd-menu__item"> | ||
<a | ||
href="{getRouteLink(node)}" | ||
title="{getNodeLabel(node)}" | ||
class="fd-menu__link" | ||
on:click|preventDefault="openMobileTopNavDropDown(node)" | ||
data-testid="mobile-topnav-dropdown-category" | ||
> | ||
{#if node.icon} {#if hasOpenUIicon(node)} | ||
<span | ||
class="fd-top-nav__icon sap-icon {getSapIconStr(node.icon)}" | ||
></span> | ||
{:else} | ||
<img | ||
class="fd-top-nav__icon nav-icon" | ||
src="{node.icon}" | ||
> | ||
{/if} {/if} | ||
<span class="fd-list__title">{getNodeLabel(node)}</span> | ||
</a> | ||
</li>--> | ||
<!-- {/if} --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems no need to keep this part. Please remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
above code does this, so I removed this commented code
Fixes #2460