Skip to content

Commit

Permalink
[fix]: Fix trigger filters
Browse files Browse the repository at this point in the history
Signed-off-by: Shanin Roman <[email protected]>
  • Loading branch information
Erigara committed Apr 18, 2024
1 parent 3bb17bf commit fdfa184
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions data_model/src/events/data/filters.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,9 @@ impl Filter for DataEntityFilter {
}
(Self::ByAsset(filter_opt), DataEvent::Asset(asset)) => filter_opt.matches(asset),
(Self::ByRole(filter_opt), DataEvent::Role(role)) => filter_opt.matches(role),
(Self::ByTrigger(filter_opt), DataEvent::Trigger(trigger)) => {
filter_opt.matches(trigger)
}
_ => false,
}
}
Expand Down

0 comments on commit fdfa184

Please sign in to comment.