Skip to content

Commit

Permalink
Merge pull request #16 from rayshader/10-hide-section-inherited-by-by…
Browse files Browse the repository at this point in the history
…-default

Issue 10 - Hide "Inherited by" by default in <object>.
  • Loading branch information
poirierlouis authored Feb 4, 2024
2 parents 2b0efbd + 7009f6f commit dde5686
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/pages/object/object.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ <h3>Inherits</h3>
}

@if (data.showChildren) {
<ndb-accordion-item [expanded]="data.children.length > 0"
[disabled]="data.children.length === 0">
<ndb-accordion-item [disabled]="data.children.length === 0">
<div header>
<h3>Inherited by</h3>
<mat-chip [highlighted]="data.children.length > 0"
Expand Down

0 comments on commit dde5686

Please sign in to comment.