Skip to content

[7.9] [Security Solution][Exceptions] - Remove initial add exception item button in builder (#72215)#72307

Merged
yctercero merged 1 commit intoelastic:7.9from
yctercero:backport/7.9/pr-72215
Jul 17, 2020
Merged

[7.9] [Security Solution][Exceptions] - Remove initial add exception item button in builder (#72215)#72307
yctercero merged 1 commit intoelastic:7.9from
yctercero:backport/7.9/pr-72215

Conversation

@yctercero
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.9:

…utton in builder (elastic#72215)

## Summary

This PR addresses two issues in the builder:

- **Existing behavior:** if you add a bunch of entries then delete all but one, the indent that shows for when multiple entries exists does not go away
  - **Updated behavior:** if you add a bunch of entries and delete all but one, the indent that shows for when multiple entries exist goes away

- **Existing behavior:** on render of add exception modal, if no exception items exist (or no exception items with entries exist) an `Add Exception` button appears
  - **Updated behavior:** if only one entry exists, the delete button is disabled for that entry; on initial render of the add exception modal, if no entries exist, an empty entry is shown
@yctercero yctercero added the backport This PR is a backport of another PR label Jul 17, 2020
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Build metrics

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@yctercero yctercero merged commit 66da6d8 into elastic:7.9 Jul 17, 2020
@yctercero yctercero deleted the backport/7.9/pr-72215 branch October 14, 2020 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants