From fcc7c7e5e3e8d82de0630bee44bab169e03da03d Mon Sep 17 00:00:00 2001 From: Alex ORLUC <alex.orluc@maarch.org> Date: Mon, 2 Mar 2020 15:01:53 +0100 Subject: [PATCH] fix filling --- .../app/contact/autocomplete/contact-autocomplete.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/app/contact/autocomplete/contact-autocomplete.component.ts b/src/frontend/app/contact/autocomplete/contact-autocomplete.component.ts index 0df47ebd84e..3cb6b74af01 100755 --- a/src/frontend/app/contact/autocomplete/contact-autocomplete.component.ts +++ b/src/frontend/app/contact/autocomplete/contact-autocomplete.component.ts @@ -243,7 +243,7 @@ export class ContactAutocompleteComponent implements OnInit { id: contact.id, type: contact.type, lastname: contact.contact, - fillingRate: !this.functions.empty(data.fillingRate) ? { + fillingRate: !this.functions.empty(contact.thresholdLevel) ? { color: this.contactService.getFillingColor(contact.thresholdLevel) } : '' } -- GitLab