Skip to content

Commit

Permalink
fix(app): adding icon
Browse files Browse the repository at this point in the history
  • Loading branch information
udayvunnam committed Nov 3, 2019
1 parent 2b86748 commit 387e50f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions projects/xng-breadcrumb-app/src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export const appRoutes: Routes = [
pathMatch: 'full',
data: {
breadcrumb: {
label: 'Home',
info: 'dashboard'
label: '',
info: 'home'
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion projects/xng-breadcrumb-app/src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<section class="route-container">
<xng-breadcrumb [separator]="separatorTemplate">
<ng-container *xngBreadcrumbItem="let breadcrumb; let info = info">
<mat-icon *ngIf="info">{{ info.icon }}</mat-icon>
<mat-icon *ngIf="info">{{ info }}</mat-icon>
{{ breadcrumb | titlecase }}
</ng-container>
</xng-breadcrumb>
Expand Down

0 comments on commit 387e50f

Please sign in to comment.