Skip to content

Commit

Permalink
fix: LEAP-1892: [FE] Deeply nested Choices are visible when their par…
Browse files Browse the repository at this point in the history
…ents are hidden
  • Loading branch information
nass600 committed Mar 7, 2025
1 parent cd2a6ba commit ed1ed1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/libs/editor/src/mixins/Visibility.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ const VisibilityMixin = types
const tag = self.annotation.names.get(tagName);

if (!tag?.hasChoiceSelection && !choiceValue?.length) return false;
if (tag.isVisible === false) return false;

return tag.hasChoiceSelection(choiceValue?.split(","), tag.selectedValues());
},
Expand Down

0 comments on commit ed1ed1b

Please sign in to comment.