From 38244767d70a38c80407d054a157fb5cabdbdcee Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Wed, 3 Apr 2019 13:47:26 +0200 Subject: [PATCH] fix code style violation (let -> const) --- src/main/webapp/app/entities/customer/customer.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/app/entities/customer/customer.component.ts b/src/main/webapp/app/entities/customer/customer.component.ts index b277ea6a..bd1f3e49 100644 --- a/src/main/webapp/app/entities/customer/customer.component.ts +++ b/src/main/webapp/app/entities/customer/customer.component.ts @@ -55,7 +55,7 @@ export class CustomerComponent implements OnInit, OnDestroy { } loadAll() { - let criteria = { + const criteria = { ...(this.filterValue.number && { 'number.equals': this.filterValue.number }), ...(this.filterValue.prefix && { 'prefix.contains': this.filterValue.prefix }) };