Skip to content

Commit

Permalink
fix(front): more fixes to highlight logic
Browse files Browse the repository at this point in the history
  • Loading branch information
agviegas committed Oct 23, 2024
1 parent 1b20e73 commit 27e4bc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/front/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@thatopen/components-front",
"description": "Collection of frontend tools to author BIM apps.",
"version": "2.4.0-alpha.10",
"version": "2.4.0-alpha.11",
"author": "That Open Company",
"contributors": [
"Antonio Gonzalez Viegas (https://github.com/agviegas)",
Expand Down
2 changes: 1 addition & 1 deletion packages/front/src/fragments/Highlighter/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ export class Highlighter
if (filter) {
// Only clear the IDs specified in the filter
const filteredSelection = filter[fragID];
if (!selected) {
if (!filteredSelection) {
// If the filter doesn't match this, skip it (don't clear it)
continue;
}
Expand Down

0 comments on commit 27e4bc2

Please sign in to comment.