Skip to content

Commit

Permalink
[DA] Fix issue with label for dep operators (#25966)
Browse files Browse the repository at this point in the history
## Summary & Motivation

See changelog

## How I Tested These Changes

## Changelog

Fixed an issue that would cause the label for
`AutomationCondition.any_deps_match()` and
`AutomationCondition.all_deps_match()` to render incorrectly when
`allow_selection` or `ignore_selection` were set.
  • Loading branch information
OwenKephart authored Nov 16, 2024
1 parent e966315 commit 96a05c4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ def name(self) -> str:
name = self.base_name
props = []
if self.allow_selection is not None:
props.append("allow_selection={self.allow_selection}")
props.append(f"allow_selection={self.allow_selection}")
if self.ignore_selection is not None:
props.append("ignore_selection={self.ignore_selection}")
props.append(f"ignore_selection={self.ignore_selection}")

if props:
name += f"({','.join(props)})"
Expand Down

0 comments on commit 96a05c4

Please sign in to comment.