From be27db86f72a8f7c322eb5b140c1404e024b76ea Mon Sep 17 00:00:00 2001 From: Eugen Neufeld Date: Mon, 10 Dec 2018 12:29:04 +0100 Subject: [PATCH] Show a fall back label in Angular Material Tree --- packages/angular-material/src/other/master-detail/master.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/angular-material/src/other/master-detail/master.ts b/packages/angular-material/src/other/master-detail/master.ts index d72ce334a..2cf291096 100644 --- a/packages/angular-material/src/other/master-detail/master.ts +++ b/packages/angular-material/src/other/master-detail/master.ts @@ -35,7 +35,7 @@ export const removeSchemaKeywords = (path: string) => { (mouseover)="onListItemHover(i)" (mouseout)="onListItemHover(undefined)" > - {{item.label}} + {{item.label || 'No label set'}}