fixed icon errors

This commit is contained in:
piratefinn 2018-05-22 13:25:21 +01:00
parent fa7108bcdf
commit 838c1a1821
2 changed files with 2 additions and 2 deletions

View file

@ -147,7 +147,7 @@
<ul class="icons-list">
<!-- New loop -->
<li *ngFor="let category of totalCategoryList | slice:0:totalCategoryLimit; let i=index">
<i [ngClass]="[sectorIcons [category.name] || 'icon-question', sectorClasses [category.name] || 'bg-info']"></i>
<i [ngClass]="[ 'icon-question', 'bg-info']"></i>
<div class="desc">
<div class="title">{{ category.category || 'N/A' }}</div>
</div>

View file

@ -102,7 +102,7 @@ export class DashboardCustomerComponent implements OnInit {
showTotalCategoryList: boolean = false;
totalCategoryLimit: number = 10;
totalCategoryList: any;
totalCategoryList: any[]=[];
// Graph widgets
public widgetList = [