Api: More missing changes from SearchMixin.remoteQuery() / static options from json file

This commit is contained in:
nathan 2023-07-25 09:14:13 -06:00
parent df9ec35704
commit 3aaf0b2b60

View File

@ -70,13 +70,14 @@ export class Et2LinkSearch extends Et2Select
{ {
if(!this.query(request, this)) if(!this.query(request, this))
{ {
return Promise.resolve(); return Promise.resolve([]);
} }
} }
return request.then((result) => return request.then((result) =>
{ {
const entries = cleanSelectOptions(result); const entries = cleanSelectOptions(result);
this.processRemoteResults(entries); this.processRemoteResults(entries);
return entries;
}); });
} }