adapt Et2LinkSearch.remoteQuery() to Nathans change not run cleanSelectOptions() in Et2Select.processRemoteResults() any more

@Nathan: not sure if this needs to be applied in more places, or your change should detect it needs running ...
This commit is contained in:
ralf 2023-07-25 10:39:13 +02:00
parent b8e97f9123
commit f35de819a7

View File

@ -11,6 +11,7 @@ import {css} from "@lion/core";
import {Et2Select} from "../Et2Select/Et2Select";
import {Et2LinkAppSelect} from "./Et2LinkAppSelect";
import {Et2Link} from "./Et2Link";
import {cleanSelectOptions} from "../Et2Select/FindSelectOptions";
export class Et2LinkSearch extends Et2Select
{
@ -74,7 +75,8 @@ export class Et2LinkSearch extends Et2Select
}
return request.then((result) =>
{
this.processRemoteResults(result);
const entries = cleanSelectOptions(result);
this.processRemoteResults(entries);
});
}