mirror of
https://github.com/nasa/openmct.git
synced 2025-05-09 20:12:50 +00:00
[Search] Fix reindexing
Flag domain objects as non-indexed on mutation to ensure reindexing. Done in the context of nasa/openmctweb#141.
This commit is contained in:
parent
866c8882ca
commit
fe8543158e
@ -171,6 +171,7 @@ define(
|
|||||||
|
|
||||||
// Re-index items when they are mutated
|
// Re-index items when they are mutated
|
||||||
mutationTopic.listen(function (domainObject) {
|
mutationTopic.listen(function (domainObject) {
|
||||||
|
indexed[domainObject.getId()] = false;
|
||||||
indexItems([domainObject]);
|
indexItems([domainObject]);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user