Skip to content

Commit

Permalink
remove extra hash in related_entities
Browse files Browse the repository at this point in the history
  • Loading branch information
TheIronBorn authored Feb 16, 2024
1 parent b029d6b commit f73c9dd
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions crates/core/src/entity_index/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,11 +240,7 @@ impl EntityIndex {
})
.filter(|entity_match| {
if let Some(image_id) = &entity_match.entity.image_id {
let res = !images.contains(image_id);

images.insert(image_id.clone());

res
images.insert(image_id.clone())
} else {
false
}
Expand Down

0 comments on commit f73c9dd

Please sign in to comment.