Skip to content
Snippets Groups Projects
Commit 488e6f2b authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire: Committed by Reiter, Christoph
Browse files

Fix missing variable assignment

parent 703613c6
No related branches found
No related tags found
No related merge requests found
...@@ -147,6 +147,7 @@ class PersonSelect extends LitElement { ...@@ -147,6 +147,7 @@ class PersonSelect extends LitElement {
}; };
}, },
processResults: function (data) { processResults: function (data) {
that.lastResult = data;
let transformed = that.jsonld.transformMembers(data, personContext); let transformed = that.jsonld.transformMembers(data, personContext);
const results = []; const results = [];
transformed.forEach((person) => { transformed.forEach((person) => {
...@@ -163,6 +164,8 @@ class PersonSelect extends LitElement { ...@@ -163,6 +164,8 @@ class PersonSelect extends LitElement {
} }
} }
}).on("select2:select", function (e) { }).on("select2:select", function (e) {
console.log("select2:select");
debugger
// set custom element attributes // set custom element attributes
const identifier = e.params.data.id; const identifier = e.params.data.id;
that.object = findObjectInApiResults(identifier, that.lastResult); that.object = findObjectInApiResults(identifier, that.lastResult);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment