fixed icon errors
This commit is contained in:
parent
c9f786eaee
commit
10622204b7
2 changed files with 2 additions and 2 deletions
|
@ -147,7 +147,7 @@
|
||||||
<ul class="icons-list">
|
<ul class="icons-list">
|
||||||
<!-- New loop -->
|
<!-- New loop -->
|
||||||
<li *ngFor="let category of totalCategoryList | slice:0:totalCategoryLimit; let i=index">
|
<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="desc">
|
||||||
<div class="title">{{ category.category || 'N/A' }}</div>
|
<div class="title">{{ category.category || 'N/A' }}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -102,7 +102,7 @@ export class DashboardCustomerComponent implements OnInit {
|
||||||
|
|
||||||
showTotalCategoryList: boolean = false;
|
showTotalCategoryList: boolean = false;
|
||||||
totalCategoryLimit: number = 10;
|
totalCategoryLimit: number = 10;
|
||||||
totalCategoryList: any;
|
totalCategoryList: any[]=[];
|
||||||
|
|
||||||
// Graph widgets
|
// Graph widgets
|
||||||
public widgetList = [
|
public widgetList = [
|
||||||
|
|
Reference in a new issue