fixed showTotalCategoryList

This commit is contained in:
Finn 2019-07-03 15:04:03 +01:00
parent 700287fc32
commit bc8f024d41
No known key found for this signature in database
GPG key ID: 7455B4B17685B598
3 changed files with 1 additions and 10 deletions

8
package-lock.json generated
View file

@ -954,14 +954,6 @@
"resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz",
"integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA=="
},
"@types/moment": {
"version": "2.13.0",
"resolved": "https://registry.npmjs.org/@types/moment/-/moment-2.13.0.tgz",
"integrity": "sha1-YE69GJvDvDShVIaJQE5hoqSqyJY=",
"requires": {
"moment": "*"
}
},
"@types/node": {
"version": "12.0.10",
"resolved": "https://registry.npmjs.org/@types/node/-/node-12.0.10.tgz",

View file

@ -30,7 +30,6 @@
"@angular/upgrade": "8.1.0",
"@coreui/coreui-plugin-chartjs-custom-tooltips": "^1.3.1",
"@coreui/icons": "0.3.0",
"@types/moment": "2.13.0",
"chart.js": "^2.8.0",
"core-js": "^2.6.9",
"jasmine": "^3.4.0",

View file

@ -143,7 +143,7 @@
<h4 class="card-title float-left mb-0">All Purchases by Category</h4>
</div><!--/.col-->
</div><!--/.row-->
<div class="chart-wrapper">
<div *ngIf="shhowTotalCategoryList" class="chart-wrapper">
<ul class="icons-list">
<!-- New loop -->
<li *ngFor="let category of totalCategoryList | slice:0:totalCategoryLimit; let i=index">