Fixed error if a transformation had no icon
<mat-list fxFlex class="layout-padding-top-bottom">
<ng-template ngFor let-item let-last="last" [ngForOf]="feed.dataTransformation.states">
<mat-list-item>
- <ng-md-icon *ngIf="!item.context.icon.startsWith('mdi')" matListIcon [icon]="item.context.icon"></ng-md-icon>
- <i *ngIf="item.context.icon.startsWith('mdi')" matListIcon [class]="item.context.icon + ' material-icons'"></i>
+ <ng-md-icon *ngIf="item.context.icon && !item.context.icon.startsWith('mdi')" matListIcon [icon]="item.context.icon"></ng-md-icon>
+ <i *ngIf="item.context.icon && item.context.icon.startsWith('mdi')" matListIcon [class]="item.context.icon + ' material-icons'"></i>
<p matLine [matTooltip]="item.context.name" class="tc-black">{{item.context.name}}</p>
</mat-list-item>
<mat-divider *ngIf="!last" class="relative"></mat-divider>
