Fix item class was not correct

This commit is contained in:
nathan 2022-06-01 09:41:53 -06:00
parent 59862bba7b
commit 7cb13015ae

View File

@ -396,7 +396,7 @@ export const Et2WithSearchMixin = dedupeMixin((superclass) =>
let entries = cleanSelectOptions(results); let entries = cleanSelectOptions(results);
// Add a "remote" class so we can tell these apart from any local results // Add a "remote" class so we can tell these apart from any local results
entries.forEach((entry) => entry.class = entry.class += "remote"); entries.forEach((entry) => entry.class = (entry.class || "") + " remote");
let target = this._optionTargetNode || this; let target = this._optionTargetNode || this;
if(target) if(target)