fixed icon errors
This commit is contained in:
parent
fa7108bcdf
commit
838c1a1821
2 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -102,7 +102,7 @@ export class DashboardCustomerComponent implements OnInit {
|
|||
|
||||
showTotalCategoryList: boolean = false;
|
||||
totalCategoryLimit: number = 10;
|
||||
totalCategoryList: any;
|
||||
totalCategoryList: any[]=[];
|
||||
|
||||
// Graph widgets
|
||||
public widgetList = [
|
||||
|
|
Reference in a new issue