Skip to content

Commit

Permalink
Show a fall back label in Angular Material Tree
Browse files Browse the repository at this point in the history
  • Loading branch information
eneufeld committed Dec 10, 2018
1 parent 0a401dd commit c262df5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const removeSchemaKeywords = (path: string) => {
(mouseover)="onListItemHover(i)"
(mouseout)="onListItemHover(undefined)"
>
<a matLine>{{item.label}}</a>
<a matLine>{{item.label || 'No label set'}}</a>
<button mat-icon-button
class="button hide"
(click)="onDeleteClick(item, i)"
Expand Down

0 comments on commit c262df5

Please sign in to comment.