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 authored and edgarmueller committed Dec 12, 2018
1 parent 82db3a7 commit be27db8
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 be27db8

Please sign in to comment.