-
Notifications
You must be signed in to change notification settings - Fork 11
fix: hide navigation header if nothing underneath #1035
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
Conversation
This reverts commit 8bf3da5.
Codecov Report
@@ Coverage Diff @@
## main #1035 +/- ##
==========================================
+ Coverage 85.06% 85.09% +0.02%
==========================================
Files 820 821 +1
Lines 16865 16898 +33
Branches 2190 2196 +6
==========================================
+ Hits 14346 14379 +33
Misses 2488 2488
Partials 31 31
Continue to review full report at Codecov.
|
This comment has been minimized.
This comment has been minimized.
@@ -11,7 +11,7 @@ import { NavItemLinkConfig } from '../navigation-list.component'; | |||
template: ` | |||
<ht-link *ngIf="this.config" [paramsOrUrl]="buildNavigationParam | htMemoize: this.config"> | |||
<div | |||
*htIfFeature="this.config.features | htFeature as featureState" | |||
*htIfFeature="this.config.featureState$ | async as featureState" |
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.
ooh.. @itssharmasandeep I think we still need to apply htFeature
here
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.
Nope
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.
htFeature
takes the features
which are string[]
and convert this to featureState
I am converting this to featureState
in the service itself and pass here
Description
hide navigation header if there is nothing underneath
Testing
Local Testing done.
Checklist:
There was some problem with #1024 so created this new one.