mirror of https://gitlab.crans.org/bde/nk20
I hate you JS
This commit is contained in:
parent
872456df20
commit
4afb849aec
|
@ -265,7 +265,10 @@ function autoCompleteNote(field_id, note_list_id, notes, notes_display, alias_pr
|
|||
consumers.results.forEach(function (consumer) {
|
||||
let note = consumer.note;
|
||||
note.email_confirmed = consumer.email_confirmed;
|
||||
if (consumer.hasOwnProperty("membership") && consumer.membership)
|
||||
note.membership = consumer.membership;
|
||||
else
|
||||
note.membership = undefined;
|
||||
let extra_css = displayStyle(note);
|
||||
aliases_matched_html += li(alias_prefix + '_' + consumer.id,
|
||||
consumer.name,
|
||||
|
|
Loading…
Reference in New Issue