mirror of
https://github.com/nasa/openmct.git
synced 2025-03-22 12:05:19 +00:00
object get in onWorkerMessage call should use identifier
This commit is contained in:
parent
c4f18a4797
commit
282ead581a
@ -137,7 +137,7 @@ class InMemorySearchProvider {
|
||||
};
|
||||
modelResults.hits = await Promise.all(event.data.results.map(async (hit) => {
|
||||
const identifier = this.openmct.objects.parseKeyString(hit.keyString);
|
||||
const domainObject = await this.openmct.objects.get(identifier.key);
|
||||
const domainObject = await this.openmct.objects.get(identifier);
|
||||
|
||||
return domainObject;
|
||||
}));
|
||||
|
Loading…
x
Reference in New Issue
Block a user