-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Security Solution][Preview] - Enable preview when only filters used #94018
Conversation
Pinging @elastic/security-solution (Team: SecuritySolution) |
Pinging @elastic/security-detections-response (Team:Detections and Resp) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good 👍
eqlQueryLoading || | ||
isDisabled || | ||
query == null || | ||
(query != null && query.query.query === '' && query.filters.length === 0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good ol query.query.query
💚 Build SucceededMetrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: cc @yctercero |
…lastic#94018) ### Summary Addresses elastic#93245 where the preview button was grayed out when only filters were present - no main query. # Conflicts: # x-pack/plugins/security_solution/public/detections/components/rules/query_preview/index.test.tsx
…lastic#94018) ### Summary Addresses elastic#93245 where the preview button was grayed out when only filters were present - no main query. # Conflicts: # x-pack/plugins/security_solution/public/detections/components/rules/query_preview/index.test.tsx
…s used (#94018) (#94045) * [Security Solution][Preview] - Enable preview when only filters used (#94018) ### Summary Addresses #93245 where the preview button was grayed out when only filters were present - no main query. # Conflicts: # x-pack/plugins/security_solution/public/detections/components/rules/query_preview/index.test.tsx * fixing merge conflict
Summary
Addresses #93245 where the preview button was grayed out when only filters were present - no main query.
Adds unit tests.
Checklist