fix code style violation (let -> const)

This commit is contained in:
Michael Hoennig 2019-04-03 13:47:26 +02:00
parent d379043a4b
commit 38244767d7

View File

@ -55,7 +55,7 @@ export class CustomerComponent implements OnInit, OnDestroy {
} }
loadAll() { loadAll() {
let criteria = { const criteria = {
...(this.filterValue.number && { 'number.equals': this.filterValue.number }), ...(this.filterValue.number && { 'number.equals': this.filterValue.number }),
...(this.filterValue.prefix && { 'prefix.contains': this.filterValue.prefix }) ...(this.filterValue.prefix && { 'prefix.contains': this.filterValue.prefix })
}; };